1
0
Fork 0
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:
Jenny Crowe 2024-01-26 19:01:05 -07:00
parent bfb032dc7f
commit 4743076314

View file

@ -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}';
}