Add fit viewport verb and automatic pref

This commit is contained in:
ShadowLarkens
2024-09-11 19:14:10 -07:00
parent a181941b7c
commit d02e25fad3
8 changed files with 106 additions and 2 deletions
+3
View File
@@ -278,6 +278,8 @@
X << 'sound/effects/tones/newplayerping.ogg'
window_flash(X)
//VOREStation Edit end.
fully_created = TRUE
attempt_auto_fit_viewport()
//////////////
//DISCONNECT//
@@ -611,6 +613,7 @@
winset(usr, "mainwindow", "can-resize=true")
winset(usr, "mainwindow", "is-maximized=false")
winset(usr, "mainwindow", "on-size=attempt_auto_fit_viewport") // The attempt_auto_fit_viewport() proc is not implemented yet
attempt_auto_fit_viewport()
/client/verb/toggle_verb_panel()
set name = "Toggle Verbs"