internal/ui: remove (*Monitor).Bounds

Updates #2780
This commit is contained in:
Hajime Hoshi 2023-09-24 01:46:10 +09:00
parent 01e2c92e56
commit 121d6005cd

View File

@ -17,7 +17,6 @@
package ui
import (
"image"
"sync"
"sync/atomic"
@ -38,11 +37,6 @@ type Monitor struct {
name string
}
// Bounds returns the monitor's bounds.
func (m *Monitor) Bounds() image.Rectangle {
return image.Rect(m.x, m.y, m.x+m.width, m.y+m.height)
}
// Name returns the monitor's name.
func (m *Monitor) Name() string {
return m.name