reomve old "children" node
This commit is contained in:
@@ -7,7 +7,7 @@ local NumberMinZoom = THEME:GetMetric("Combo", "NumberMinZoom");
|
||||
local NumberMaxZoom = THEME:GetMetric("Combo", "NumberMaxZoom");
|
||||
local NumberMaxZoomAt = THEME:GetMetric("Combo", "NumberMaxZoomAt");
|
||||
|
||||
local t = {
|
||||
local t = Def.ActorFrame {
|
||||
LoadFont( "Combo", "numbers" ) .. {
|
||||
Name="Number";
|
||||
OnCommand = THEME:GetMetric("Combo", "NumberOnCommand");
|
||||
@@ -20,10 +20,7 @@ local t = {
|
||||
Name="MissesLabel";
|
||||
OnCommand = THEME:GetMetric("Combo", "LabelOnCommand");
|
||||
};
|
||||
};
|
||||
|
||||
return Def.ActorFrame {
|
||||
children = t;
|
||||
InitCommand = function(self)
|
||||
c = self:GetChildren();
|
||||
c.Number:visible(false);
|
||||
@@ -59,3 +56,5 @@ return Def.ActorFrame {
|
||||
Pulse( Label, param );
|
||||
end;
|
||||
};
|
||||
|
||||
return t;
|
||||
|
||||
@@ -27,8 +27,7 @@ local TNSFrames = {
|
||||
TapNoteScore_Miss = 5;
|
||||
};
|
||||
|
||||
return Def.ActorFrame {
|
||||
children = t;
|
||||
local t = Def.ActorFrame {
|
||||
InitCommand = function(self)
|
||||
c = self:GetChildren();
|
||||
end;
|
||||
@@ -53,3 +52,5 @@ return Def.ActorFrame {
|
||||
JudgeCmds[param.TapNoteScore](c.Judgment);
|
||||
end;
|
||||
};
|
||||
|
||||
return t;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
local children = {
|
||||
local t = Def.ActorFrame {
|
||||
LoadFont("", "blaster") ..{
|
||||
Text=THEME:GetString( 'ScreenTitleMenu', ThisGameCommand:GetText() );
|
||||
InitCommand=cmd(horizalign,center;shadowlength,0);
|
||||
@@ -8,4 +8,4 @@ local children = {
|
||||
};
|
||||
};
|
||||
|
||||
return Def.ActorFrame { children = children };
|
||||
return t;
|
||||
|
||||
@@ -5,11 +5,8 @@ return Def.ActorFrame {
|
||||
OffFocusedCommand=cmd();
|
||||
OffUnfocusedCommand=cmd();
|
||||
|
||||
children =
|
||||
{
|
||||
LoadFont( "Common", "normal" ) .. {
|
||||
Text=THEME:GetString("PaneDisplay", text);
|
||||
OnCommand=cmd(shadowlength,0;horizalign,left;zoom,0.5);
|
||||
};
|
||||
LoadFont( "Common", "normal" ) .. {
|
||||
Text=THEME:GetString("PaneDisplay", text);
|
||||
OnCommand=cmd(shadowlength,0;horizalign,left;zoom,0.5);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user