summaryrefslogtreecommitdiffstats
path: root/scene/gui/control.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-06-29 22:41:02 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-06-29 22:41:02 -0300
commit01632a824ee7e2326aa90b32d75c2fe09f61a37e (patch)
tree86d97af34596130fb69bf444781b7ca8fdc8c20d /scene/gui/control.cpp
parent97731696c9e45a351d64660b46c6d027f3b0a25e (diff)
downloadredot-engine-01632a824ee7e2326aa90b32d75c2fe09f61a37e.tar.gz
Bug Fixes
-=-=-=-=- -Documentation now shows overridable theme values (though this needs to be documented). -Detect when object transform is flipped and flip normals too. -TileMap can specify bounce and friction for collision. -Removed limit of 4 lights per object -Added is_hovered() to buttons.
Diffstat (limited to 'scene/gui/control.cpp')
-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 4b4b4b3c73..6878793360 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -1002,7 +1002,7 @@ void Control::_window_input_event(InputEvent p_event) {
}
- p_event.mouse_button.global_x = pos.x;
+ p_event.mouse_button.global_x = pos.x;
p_event.mouse_button.global_y = pos.y;
pos = window->focus_inv_xform.xform(pos);