mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Fixes scaling names (#51311)
This commit is contained in:
@@ -108,8 +108,8 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
var/widescreenpref = TRUE
|
||||
///What size should pixels be displayed as? 0 is strech to fit
|
||||
var/pixel_size = 0
|
||||
///What scaling method should we use?
|
||||
var/scaling_method = "normal"
|
||||
///What scaling method should we use? Distort means nearest neighbor
|
||||
var/scaling_method = SCALING_METHOD_DISTORT
|
||||
var/uplink_spawn_loc = UPLINK_PDA
|
||||
|
||||
var/list/exp = list()
|
||||
@@ -605,9 +605,9 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
dat += "<b>Pixel Scaling:</b> <a href='?_src_=prefs;preference=pixel_size'>[(button_name) ? "Pixel Perfect [button_name]x" : "Stretch to fit"]</a><br>"
|
||||
|
||||
switch(scaling_method)
|
||||
if(SCALING_METHOD_NORMAL)
|
||||
button_name = "Nearest Neighbor"
|
||||
if(SCALING_METHOD_DISTORT)
|
||||
button_name = "Nearest Neighbor"
|
||||
if(SCALING_METHOD_NORMAL)
|
||||
button_name = "Point Sampling"
|
||||
if(SCALING_METHOD_BLUR)
|
||||
button_name = "Bilinear"
|
||||
|
||||
Reference in New Issue
Block a user