You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-03 16:55:53 +00:00
Fix delay on tab resizing when (un)hovering tabs
(cherry picked from commit 7ffad29df8)
This commit is contained in:
committed by
Yuri Sizov
parent
4ec566fae2
commit
3bb05da45f
@@ -881,6 +881,8 @@ void TabBar::_update_hover() {
|
||||
if (hover != -1) {
|
||||
emit_signal(SNAME("tab_hovered"), hover);
|
||||
}
|
||||
|
||||
_update_cache();
|
||||
queue_redraw();
|
||||
}
|
||||
|
||||
@@ -988,6 +990,7 @@ void TabBar::_on_mouse_exited() {
|
||||
highlight_arrow = -1;
|
||||
dragging_valid_tab = false;
|
||||
|
||||
_update_cache();
|
||||
queue_redraw();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user