Fixes scaling names (#51311)

This commit is contained in:
nemvar
2020-05-27 23:09:07 +08:00
committed by GitHub
parent e491d3d03f
commit 8aa8d867a4
+4 -4
View File
@@ -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"