mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-04 05:50:15 +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 fb0e82be08
.
This commit is contained in:
parent
7fab4cd42f
commit
7a77285dc7
@ -26,7 +26,7 @@ using namespace gfx;
|
|||||||
|
|
||||||
static inline void mark_dirty_flag(Widget* widget)
|
static inline void mark_dirty_flag(Widget* widget)
|
||||||
{
|
{
|
||||||
while (widget && ((widget->flags & JI_DIRTY) == 0)) {
|
while (widget) {
|
||||||
widget->flags |= JI_DIRTY;
|
widget->flags |= JI_DIRTY;
|
||||||
widget = widget->parent;
|
widget = widget->parent;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user