Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Fix EDSCALE_RND

NoNormalDev56d99a9270c3
diff --git a/editor/themes/editor_scale.h b/editor/themes/editor_scale.h
index e3f0a5df074..c07ef304c5c 100644
--- a/editor/themes/editor_scale.h
+++ b/editor/themes/editor_scale.h
@@ -40,4 +40,4 @@ public:
#define EDSCALE (EditorScale::get_scale())
-#define EDSCALE_RND(m_value) (Math::round(m_value * EDSCALE))
+#define EDSCALE_RND(m_value) (Math::round((m_value) * EDSCALE))