mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
centers any kind of nanomap (#17794)
* centers any kind of nanomap * delay that * Make nanomaps work properly with mouse zooming * Update NanoMap.tsx --------- Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
This commit is contained in:
co-authored by
ShadowLarkens
parent
6934727f2b
commit
9899a1d2e7
@@ -67,7 +67,6 @@
|
||||
"y" = alarm.y,
|
||||
"z" = alarm.z)
|
||||
.["alarms"] = alarms
|
||||
.["zoomScale"] = world.maxx + world.maxy
|
||||
|
||||
/datum/tgui_module/atmos_control/tgui_data(mob/user)
|
||||
var/list/data = list()
|
||||
|
||||
@@ -47,10 +47,6 @@
|
||||
ui.autoupdate = TRUE
|
||||
ui.open()
|
||||
|
||||
/datum/tgui_module/crew_monitor/tgui_static_data(mob/user)
|
||||
. = ..()
|
||||
.["zoomScale"] = world.maxx + world.maxy
|
||||
|
||||
/datum/tgui_module/crew_monitor/tgui_data(mob/user)
|
||||
var/data[0]
|
||||
|
||||
|
||||
@@ -286,6 +286,10 @@
|
||||
//"refreshing" = refreshing,
|
||||
"refreshing" = FALSE,
|
||||
"mapZLevel" = map_z_level,
|
||||
"mapInfo" = list(
|
||||
"maxx" = world.maxx,
|
||||
"maxy" = world.maxy,
|
||||
),
|
||||
"window" = list(
|
||||
"key" = window_key,
|
||||
"size" = window_size,
|
||||
|
||||
Reference in New Issue
Block a user