mirror of
https://github.com/godotengine/godot.git
synced 2025-04-13 01:00:35 +08:00
Merge pull request #78777 from YeldhamDev/tab_hover_fix
Fix delay on tab resizing when (un)hovering tabs
This commit is contained in:
commit
509645b038
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user