summaryrefslogtreecommitdiff
path: root/delegate_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-17 17:07:53 -0400
committerPietro Gagliardi <[email protected]>2014-05-17 17:07:53 -0400
commit24cac41de6ca31a308d0b7e1e982cb1c11c46ad4 (patch)
tree2c54c34c074df7ae44b1f71259c315cd03b7dfb3 /delegate_darwin.go
parentce14390eff98fc51f74bd61f06542c8d1bb3d7f0 (diff)
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.
Diffstat (limited to 'delegate_darwin.go')
-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