ui: Add MonitorSize again

Fixes #711
This commit is contained in:
Hajime Hoshi 2018-10-11 10:29:57 +09:00
parent b9328bf14d
commit 6a9184dd63

5
run.go
View File

@ -362,6 +362,11 @@ func ScreenSizeInFullscreen() (int, int) {
return ui.ScreenSizeInFullscreen()
}
// MonitorSize is deprecated as of 1.8.0-alpha. Use ScreenSizeInFullscreen instead.
func MonitorSize() (int, int) {
return ScreenSizeInFullscreen()
}
// SetScreenSize changes the (logical) size of the screen.
// This doesn't affect the current scale of the screen.
//