ui/app: remove two redundant assignments

StagePaused is the zero value now that StateDead is gone.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-13 13:14:30 +02:00
parent e13b9a4990
commit 4cde5d57d7
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -243,7 +243,6 @@ func createNativeWindow(opts *WindowOptions) (*window, error) {
}
w := &window{
hwnd: hwnd,
stage: StagePaused,
}
winMap[hwnd] = w
w.hdc, err = getDC(hwnd)
-1
View File
@@ -83,7 +83,6 @@ func NewWindow(opts *WindowOptions) *Window {
w := &Window{
events: make(chan Event),
stage: StagePaused,
}
if err := createWindow(w, opts); err != nil {
// For simplicity, NewWindow always succeeds. Send