ui/app: more documentation

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-09 22:20:52 +02:00
parent a8f42cd567
commit 7bc18c0139
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ func (w *Window) draw(size image.Point, frame *ui.Ops) {
w.updateAnimation()
}
// Invalidate the current window such that a UpdateEvent will be generated
// Invalidate the window such that a UpdateEvent will be generated
// immediately. If the window is inactive, the event is sent when the
// window becomes active.
func (w *Window) Invalidate() {