diff options
Diffstat (limited to 'redo/window.go')
| -rw-r--r-- | redo/window.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redo/window.go b/redo/window.go index 143a875..40e846c 100644 --- a/redo/window.go +++ b/redo/window.go @@ -45,6 +45,5 @@ func (w *window) SetControl(control Control) { control.unparent() control.parent(w) w.child = control - // TODO trigger a resize to let the new control actually be shown - // TODO do the same with control's old parent, if any + // each call to unparent() and parent() will cause the old/new parents to be redrawn; we don't have to worry about that here } |
