You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Show last added action on Input Map and implement InputEvent "=="
This commit is contained in:
@@ -3128,7 +3128,7 @@ void Tree::ensure_cursor_is_visible() {
|
||||
int screenh=get_size().height-h_scroll->get_combined_minimum_size().height;
|
||||
|
||||
if (ofs+h>v_scroll->get_val()+screenh)
|
||||
v_scroll->set_val(ofs-screenh+h);
|
||||
v_scroll->call_deferred("set_val", ofs-screenh+h);
|
||||
else if (ofs < v_scroll->get_val())
|
||||
v_scroll->set_val(ofs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user