ToolBarToggleButon text size correction

This commit is contained in:
2025-11-22 10:21:35 +01:00
parent ab77b0404a
commit 858568a235
+1 -1
View File
@@ -59,7 +59,7 @@ class ToolbarToggleButton extends ToggleButton {
// text // text
var fnt:Font = Assets.getFont(Constants.MONTSERRAT_REGULAR_400); var fnt:Font = Assets.getFont(Constants.MONTSERRAT_REGULAR_400);
textFormat = new TextFormat(fnt.fontName, textSize, unselectedColor); textFormat = new TextFormat(fnt.fontName, textSize, unselectedColor);
selectedTextFormat = new TextFormat(fnt.fontName, 16, selectedColor); selectedTextFormat = new TextFormat(fnt.fontName, textSize, selectedColor);
addEventListener(Event.CHANGE, onButtonStateChange); addEventListener(Event.CHANGE, onButtonStateChange);