mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 10:31:34 +00:00
## About The Pull Request Extends the max range for integer scaling up to 9x, corrects some misinfo in the visuals guide ## Why It's Good For The Game This allows proper integer scaling up to 8k resolution, which not only is generally the highest consumer-available resolution currently, but also the next resolution that is able to perfectly display a 480p image on it via integer scaling. Also corrects misinfo because misinfo is bad. ## Changelog 🆑 qol: Increased the integer scaling range up to 9x /🆑
16 lines
377 B
Plaintext
16 lines
377 B
Plaintext
/datum/preference/numeric/pixel_size
|
|
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
|
|
savefile_key = "pixel_size"
|
|
savefile_identifier = PREFERENCE_PLAYER
|
|
|
|
minimum = 0
|
|
maximum = 9
|
|
|
|
step = 0.5
|
|
|
|
/datum/preference/numeric/pixel_size/create_default_value()
|
|
return 0
|
|
|
|
/datum/preference/numeric/pixel_size/apply_to_client(client/client, value)
|
|
client?.view_size?.resetFormat()
|