mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Fix problems drawing widgets when a key is pressed outside the main frame/window.
This bug was introduced with the drawing optimization in commit fb0e82be084771ff33e926b5873df8fef7341a1e.
This commit is contained in:
parent
7fab4cd42f
commit
7a77285dc7
@ -26,7 +26,7 @@ using namespace gfx;
|
||||
|
||||
static inline void mark_dirty_flag(Widget* widget)
|
||||
{
|
||||
while (widget && ((widget->flags & JI_DIRTY) == 0)) {
|
||||
while (widget) {
|
||||
widget->flags |= JI_DIRTY;
|
||||
widget = widget->parent;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user