From f7896848c294de3a52ecfbb92545935a81a82772 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 30 May 2015 13:40:05 -0400 Subject: [PATCH] More bugfixes and TODOs. --- redo/box.c | 2 ++ redo/control.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/redo/box.c b/redo/box.c index e44ad8d7..8157e393 100644 --- a/redo/box.c +++ b/redo/box.c @@ -2,6 +2,8 @@ #include "out/ui.h" #include "uipriv.h" +// TODO ContainerUpdateState() + struct box { uiBox b; void (*baseCommitDestroy)(uiControl *); diff --git a/redo/control.c b/redo/control.c index 2ca91840..18575787 100644 --- a/redo/control.c +++ b/redo/control.c @@ -121,6 +121,8 @@ static void controlBaseUpdateState(uiControl *c) else uiControlCommitDisable(c); uiControlContainerUpdateState(c); + // and queue a resize, just in case we showed/hid something + uiControlQueueResize(c); } static void controlBaseContainerUpdateState(uiControl *c)