mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
tgui 516 (#16990)
* tgui 516 * nuking * . * . * redux test * this * no longer in use * removes debugs for now until someone ports the macro handling * import types * . * maxWidth * temp fix * fix type import * fix that * also that * version up * also push this while on it * rid of that * dependency up * allow mark up inputs * update * mb to search * add scroll to nanoMap * type fixing * Update ExportTab.tsx * Update index.tsx * Update XenoarchReplicator.tsx * Update XenoarchReplicator_clothing_vr.tsx * Update XenoarchReplicator_clothing_vr.tsx * Update XenoarchReplicator.tsx * crew monitor improvements * types
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
else
|
||||
return
|
||||
// Client does NOT have tgui_input on: Returns regular input
|
||||
if(!user.client.prefs.read_preference(/datum/preference/toggle/tgui_input_mode) || user.client.byond_version < 516) // Todo, remove once virgo is on 516, but currently the TGUI interface is already programmed for edge
|
||||
if(!user.client.prefs.read_preference(/datum/preference/toggle/tgui_input_mode))
|
||||
return input(user, message, title, default) as color|null
|
||||
var/datum/tgui_color_picker/picker = new(user, message, title, default, timeout, autofocus)
|
||||
picker.tgui_interact(user)
|
||||
|
||||
@@ -65,11 +65,13 @@
|
||||
window_open = FALSE
|
||||
|
||||
var/minimumHeight = client?.prefs?.read_preference(/datum/preference/numeric/tgui_say_height) || 1
|
||||
winset(client, "tgui_say", "pos=410,400;size=360,[(minimumHeight * 20) + 10];is-visible=0;")
|
||||
var/minimumWidth = client?.prefs?.read_preference(/datum/preference/numeric/tgui_say_width) || 1
|
||||
winset(client, "tgui_say", "pos=410,400;size=360,30;is-visible=0;")
|
||||
|
||||
window.send_message("props", list(
|
||||
lightMode = client?.prefs?.read_preference(/datum/preference/toggle/tgui_say_light),
|
||||
minimumHeight = minimumHeight,
|
||||
minimumWidth = minimumWidth,
|
||||
maxLength = max_length,
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user