mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
ui: Remove unused function
This commit is contained in:
parent
b62df75e36
commit
34d2e9a3fb
@ -46,11 +46,6 @@ var currentUI = &userInterface{
|
||||
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 {
|
||||
return currentUI.setScreenSize(width, height, currentUI.scale, currentUI.fullscreen)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user