mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[MIRROR] Fullscreen QoL (#28305)
Fullscreen QoL Co-authored-by: Aylong <69762909+AyIong@users.noreply.github.com>
This commit is contained in:
@@ -32,6 +32,20 @@
|
||||
winset(user, null, "command=.auto")
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/client/toggle_fullscreen
|
||||
hotkey_keys = list("F11")
|
||||
name = "toggle_fullscreen"
|
||||
full_name = "Toggle Fullscreen"
|
||||
description = "Makes the game window fullscreen."
|
||||
keybind_signal = COMSIG_KB_CLIENT_FULLSCREEN_DOWN
|
||||
|
||||
/datum/keybinding/client/toggle_fullscreen/down(client/user)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
user.toggle_fullscreen()
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/client/minimal_hud
|
||||
hotkey_keys = list("F12")
|
||||
name = "minimal_hud"
|
||||
|
||||
Reference in New Issue
Block a user