More go fmt.
This commit is contained in:
parent
3c1a61049b
commit
09e3fcd9cb
|
@ -4,7 +4,6 @@ package ui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
// "syscall"
|
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -158,7 +158,7 @@ func stdWndProc(hwnd _HWND, uMsg uint32, wParam _WPARAM, lParam _LPARAM) _LRESUL
|
||||||
panic("GetClientRect failed: " + err.Error())
|
panic("GetClientRect failed: " + err.Error())
|
||||||
}
|
}
|
||||||
// top-left corner is (0,0) so no need for winheight
|
// top-left corner is (0,0) so no need for winheight
|
||||||
s.doResize(int(r.left), int(r.top), int(r.right - r.left), int(r.bottom - r.top), 0)
|
s.doResize(int(r.left), int(r.top), int(r.right-r.left), int(r.bottom-r.top), 0)
|
||||||
// TODO use the Defer movement functions here?
|
// TODO use the Defer movement functions here?
|
||||||
// TODO redraw window and all children here?
|
// TODO redraw window and all children here?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue