summaryrefslogtreecommitdiff
path: root/src/ui/widget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-16 18:56:01 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-16 18:56:01 +0300
commit69ea47be1cee7298b65db8104f1c88e51554ba48 (patch)
treebf4cf799be4d9ceacec548edcd1eff30db92d757 /src/ui/widget.c
parent6d8bf2508f5e2af36b61cca42ed68cad26c41d56 (diff)
Added Pure Black and Pure White themes
Font changes cause window redrawing to pause so document layout doesn’t get an intermediate update with a different width. Sheets are mouse-modal.
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r--src/ui/widget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c
index 4dd847c7..1c19b70f 100644
--- a/src/ui/widget.c
+++ b/src/ui/widget.c
@@ -453,6 +453,9 @@ iBool processEvent_Widget(iWidget *d, const SDL_Event *ev) {
453 break; 453 break;
454 } 454 }
455 } 455 }
456 if (d->flags & mouseModal_WidgetFlag && isMouseEvent_(ev)) {
457 return iTrue;
458 }
456 return iFalse; 459 return iFalse;
457} 460}
458 461