summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-09-07 08:57:09 +0200
committerHein-Pieter van Braam <hp@tmm.cx>2017-09-08 00:20:16 +0200
commit5e18967d7730f162aa111b2972e3fdc80ee52579 (patch)
tree03dc5c7bec497370bc24a7254992a6e986495bf9 /scene/gui
parenteedb39091aaa1dc0b8f204844bb1eb270b2349f6 (diff)
Fix serveral recent new clang-format errors
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp
index 7bf11e6712..87dfd95724 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -1250,7 +1250,7 @@ void Control::_size_changed() {
}
if (get_viewport()->is_snap_controls_to_pixels_enabled()) {
- new_size_cache =new_size_cache.floor();
+ new_size_cache = new_size_cache.floor();
new_pos_cache = new_pos_cache.floor();
}
bool pos_changed = new_pos_cache != data.pos_cache;