Adds cancel buttons to inputs (#45825)

About The Pull Request

Adds cancel buttons to input boxes that didn't have them before.
Why It's Good For The Game

Good UX.
Changelog

cl
add: More cancel buttons.
/cl
This commit is contained in:
Akrilla
2019-08-21 11:25:41 +12:00
committed by oranges
parent 689cd662ef
commit c5b11dc283
32 changed files with 127 additions and 50 deletions
+1 -1
View File
@@ -291,7 +291,7 @@
if(!check_rights(R_ADMIN))
return
var/ratio = input("Enter new life ratio",, CONFIG_GET(number/midround_antag_life_check) * 100) as num
var/ratio = input("Enter new life ratio",, CONFIG_GET(number/midround_antag_life_check) * 100) as num|null
if(!ratio)
return
CONFIG_SET(number/midround_antag_life_check, ratio / 100)