mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
Allow disabling styling of fake nanoui windows
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
height = nheight
|
||||
if (nref)
|
||||
ref = nref
|
||||
// If a client exists, but they have disabled fancy windowing, disable it!
|
||||
if(user && user.client && !user.client.is_preference_enabled(/datum/client_preference/browser_style))
|
||||
return
|
||||
add_stylesheet("common", 'html/browser/common.css') // this CSS sheet is common to all UIs
|
||||
|
||||
/datum/browser/proc/set_title(ntitle)
|
||||
@@ -178,4 +181,4 @@
|
||||
if(src && src.mob)
|
||||
//world << "[src] was [src.mob.machine], setting to null"
|
||||
src.mob.unset_machine()
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user