diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-17 17:07:53 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-17 17:07:53 -0400 |
| commit | 24cac41de6ca31a308d0b7e1e982cb1c11c46ad4 (patch) | |
| tree | 2c54c34c074df7ae44b1f71259c315cd03b7dfb3 | |
| parent | ce14390eff98fc51f74bd61f06542c8d1bb3d7f0 (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.
| -rw-r--r-- | delegate_darwin.go | 2 |
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 |
