Add manialink ScriptName & Version

This commit is contained in:
Beu 2024-05-08 15:58:00 +02:00
parent 2ca013890a
commit 8b3a30e441

View File

@ -13,7 +13,7 @@
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
// Constants
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
#Const C_DebugMode_Version "2024-03-12"
#Const C_DebugMode_Version "2024-05-08"
#Const C_DebugMode_MainUI "DebugMode_MainUI"
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
@ -548,6 +548,10 @@ Text GetManialink() {
#Include "MathLib" as ML
// #RequireContext CSmMlScriptIngame
#Const ScriptName {{{dump(C_DebugMode_MainUI)}}}
#Const Version {{{dump(C_DebugMode_Version)}}}
Real ComputeBackgroundSize(CMlLabel _Label, Text _Value, Real _MaxLineWidth) {
declare Real SpaceSize = _Label.ComputeWidth(" ");