ui: Remove unused function

This commit is contained in:
Hajime Hoshi 2018-01-07 05:25:29 +09:00
parent b62df75e36
commit 34d2e9a3fb

View File

@ -46,11 +46,6 @@ var currentUI = &userInterface{
windowFocus: true, windowFocus: true,
} }
// NOTE: This returns true even when the browser is not active.
func shown() bool {
return !js.Global.Get("document").Get("hidden").Bool()
}
func SetScreenSize(width, height int) bool { func SetScreenSize(width, height int) bool {
return currentUI.setScreenSize(width, height, currentUI.scale, currentUI.fullscreen) return currentUI.setScreenSize(width, height, currentUI.scale, currentUI.fullscreen)
} }