We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9e1b10 commit e04e0caCopy full SHA for e04e0ca
Source/Scripts/UI/GButton.cs
@@ -443,7 +443,7 @@ override public void ConstructFromXML(XML cxml)
443
_downEffect = str == "dark" ? 1 : (str == "scale" ? 2 : 0);
444
_downEffectValue = xml.GetAttributeFloat("downEffectValue");
445
if (_downEffect == 2)
446
- this.SetPivot(0.5f, 0.5f);
+ this.SetPivot(0.5f, 0.5f, this.pivotAsAnchor);
447
}
448
449
_buttonController = GetController("button");
0 commit comments