mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45: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 {
|
||||
w.mu.Lock()
|
||||
defer w.mu.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user