summaryrefslogtreecommitdiff
path: root/tools/editor/editor_scale.cpp
blob: ecb1e1816fd9db8615c1d803cc48e2bd245143d7 (plain)
1
2
3
4
5
6
7
#include "editor_scale.h"
#include "os/os.h"

bool editor_is_hidpi() {

	return OS::get_singleton()->get_screen_dpi(0) > 150;
}