summaryrefslogtreecommitdiffstats
path: root/editor/editor_scale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_scale.cpp')
-rw-r--r--editor/editor_scale.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_scale.cpp b/editor/editor_scale.cpp
index 6a26cc6401..450de75328 100644
--- a/editor/editor_scale.cpp
+++ b/editor/editor_scale.cpp
@@ -37,6 +37,7 @@ static float scale = 1.0;
void editor_set_scale(float p_scale) {
scale = p_scale;
}
+
float editor_get_scale() {
return scale;
}