From 24cac41de6ca31a308d0b7e1e982cb1c11c46ad4 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 17 May 2014 17:07:53 -0400 Subject: [PATCH] Decided to unconditionally redraw everything on a window resize on Mac OS X. Now to add TODOs for the other platforms to see if we should do the same. --- delegate_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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