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()