You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fix regression with cursor shape
This commit is contained in:
@@ -1917,7 +1917,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
|
|||||||
Control *c = over;
|
Control *c = over;
|
||||||
Vector2 cpos = pos;
|
Vector2 cpos = pos;
|
||||||
while (c) {
|
while (c) {
|
||||||
cursor_shape = c->get_cursor_shape();
|
cursor_shape = c->get_cursor_shape(cpos);
|
||||||
cpos = c->get_transform().xform(cpos);
|
cpos = c->get_transform().xform(cpos);
|
||||||
if (cursor_shape != Control::CURSOR_ARROW)
|
if (cursor_shape != Control::CURSOR_ARROW)
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user