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.

This commit is contained in:
Pietro Gagliardi 2014-05-17 17:07:53 -04:00
parent ce14390eff
commit 24cac41de6
1 changed files with 1 additions and 1 deletions

View File

@ -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