mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-06 04:08:42 +00:00
Added % as a unit to not include a space for when displaying in the event tooltip
This commit is contained in:
parent
bfb032dc7f
commit
4743076314
|
@ -81,7 +81,7 @@ abstract SongEventSchema(SongEventSchemaRaw)
|
|||
var unit:String = field.units;
|
||||
|
||||
// These units look better when placed immediately next to the value, rather than after a space.
|
||||
if (unit == 'x' || unit == '°') return value + '${unit}';
|
||||
if (unit == 'x' || unit == '°' || unit == '%') return value + '${unit}';
|
||||
|
||||
return value + ' ${unit}';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue