Fix T85107: Active tool doesn't update when mouse is already over it

This commit is contained in:
Campbell Barton 2021-01-28 18:52:04 +11:00
parent 9509e18564
commit 78f7377c88
Notes: blender-bot 2023-02-14 10:29:32 +01:00
Referenced by issue #85107, Selected tool isn't highlighted blue while mouse is over it, if selected via shortcut
1 changed files with 1 additions and 1 deletions

View File

@ -789,7 +789,7 @@ static void ui_but_update_old_active_from_new(uiBut *oldbut, uiBut *but)
BLI_assert(oldbut->active);
/* flags from the buttons we want to refresh, may want to add more here... */
const int flag_copy = UI_BUT_REDALERT | UI_HAS_ICON;
const int flag_copy = UI_BUT_REDALERT | UI_HAS_ICON | UI_SELECT_DRAW;
const int drawflag_copy = 0; /* None currently. */
/* still stuff needs to be copied */