From 41a68bf17ba1110b6d3503a21f68ac1e5a9c706c Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 26 Dec 2022 22:43:20 +0900 Subject: [PATCH] internal/ui: remove unused functions --- internal/ui/ui_js.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/internal/ui/ui_js.go b/internal/ui/ui_js.go index 826e4a098..6b4d92174 100644 --- a/internal/ui/ui_js.go +++ b/internal/ui/ui_js.go @@ -675,13 +675,6 @@ func (u *userInterfaceImpl) updateScreenSize() { } } -func (u *userInterfaceImpl) SetScreenTransparent(transparent bool) { - if u.running { - panic("ui: SetScreenTransparent can't be called after the main loop starts") - } - -} - func (u *userInterfaceImpl) readInputState(inputState *InputState) { *inputState = u.inputState u.inputState.resetForTick()