Compare commits

...

2 Commits

Author SHA1 Message Date
JoshuaL03 abc37f13ce
Merge d042b2bb18 into f26ce64208 2025-09-22 14:19:16 -05:00
Joshua Lopez d042b2bb18 Fix mouse gestures not working after switching tabs (fix aseprite#4388) 2025-09-15 22:38:30 -05:00
1 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include "app/ui/workspace.h"
#include "app/ui/workspace_tabs.h"
#include "doc/sprite.h"
#include "ui/manager.h"
#include "ui/system.h"
#include <algorithm>
@ -120,6 +121,10 @@ void UIContext::setActiveView(DocView* docView)
mainWin->getTimeline()->updateUsingEditor(editor);
mainWin->getPreviewEditor()->updateUsingEditor(editor);
// Update mouse widgets immediately after changing views rather
// than waiting for mouse movement.
mainWin->manager()->_updateMouseWidgets();
// Change the image-type of color bar.
ColorBar::instance()->setPixelFormat(app_get_current_pixel_format());