mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 09:25:38 +00:00
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:
@@ -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 {
|
func (w *Window) Stage() Stage {
|
||||||
w.mu.Lock()
|
w.mu.Lock()
|
||||||
defer w.mu.Unlock()
|
defer w.mu.Unlock()
|
||||||
|
|||||||
Reference in New Issue
Block a user