uidriver: Bug fix: Needed to implement MonitorPosition

This commit is contained in:
Hajime Hoshi 2019-12-21 21:15:58 +09:00
parent dabaf66b81
commit 8013fef9ea
2 changed files with 8 additions and 0 deletions

View File

@ -467,6 +467,10 @@ func (u *UserInterface) IsScreenTransparent() bool {
return bodyStyle.Get("backgroundColor").String() == "transparent"
}
func (u *UserInterface) MonitorPosition() (int, int) {
return 0, 0
}
func (u *UserInterface) CanHaveWindow() bool {
return false
}

View File

@ -437,6 +437,10 @@ func (u *UserInterface) CanHaveWindow() bool {
return false
}
func (u *UserInterface) MonitorPosition() (int, int) {
return 0, 0
}
func (u *UserInterface) Input() driver.Input {
return &u.input
}