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