Add manialink ScriptName & Version
This commit is contained in:
parent
2ca013890a
commit
8b3a30e441
@ -13,7 +13,7 @@
|
|||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
||||||
// Constants
|
// Constants
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
||||||
#Const C_DebugMode_Version "2024-03-12"
|
#Const C_DebugMode_Version "2024-05-08"
|
||||||
#Const C_DebugMode_MainUI "DebugMode_MainUI"
|
#Const C_DebugMode_MainUI "DebugMode_MainUI"
|
||||||
|
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
||||||
@ -548,6 +548,10 @@ Text GetManialink() {
|
|||||||
#Include "MathLib" as ML
|
#Include "MathLib" as ML
|
||||||
// #RequireContext CSmMlScriptIngame
|
// #RequireContext CSmMlScriptIngame
|
||||||
|
|
||||||
|
#Const ScriptName {{{dump(C_DebugMode_MainUI)}}}
|
||||||
|
#Const Version {{{dump(C_DebugMode_Version)}}}
|
||||||
|
|
||||||
|
|
||||||
Real ComputeBackgroundSize(CMlLabel _Label, Text _Value, Real _MaxLineWidth) {
|
Real ComputeBackgroundSize(CMlLabel _Label, Text _Value, Real _MaxLineWidth) {
|
||||||
declare Real SpaceSize = _Label.ComputeWidth(" ");
|
declare Real SpaceSize = _Label.ComputeWidth(" ");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user