summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--delegate_darwin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/delegate_darwin.go b/delegate_darwin.go
index d6ff6ce..a586d2f 100644
--- a/delegate_darwin.go
+++ b/delegate_darwin.go
@@ -41,7 +41,7 @@ func appDelegate_windowDidResize(win C.id) {
r := C.frame(wincv)
// winheight is used here because (0,0) is the bottom-left corner, not the top-left corner
s.doResize(0, 0, int(r.width), int(r.height), int(r.height))
- C.display(win) // redraw everything; TODO only if resize() was called?
+ C.display(win) // redraw everything
}
//export appDelegate_buttonClicked