ui/app: delete Window.Size method

Clients should use the size from DrawEvent instead.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-14 13:08:34 +02:00
parent cde040369c
commit 6e97d65af1
-6
View File
@@ -209,12 +209,6 @@ func (w *Window) setNextFrame(at time.Time) {
}
}
func (w *Window) Size() image.Point {
w.mu.Lock()
defer w.mu.Unlock()
return w.size
}
func (w *Window) Stage() Stage {
w.mu.Lock()
defer w.mu.Unlock()