1
0
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:
volzhs
2016-08-23 08:14:04 +09:00
parent 2cf781d3c6
commit 2e5a4cb5ca
4 changed files with 76 additions and 4 deletions

View File

@@ -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);
}