diff --git a/src/components/ToolBarToggleButton.hx b/src/components/ToolBarToggleButton.hx index a09bb0c..000f445 100644 --- a/src/components/ToolBarToggleButton.hx +++ b/src/components/ToolBarToggleButton.hx @@ -59,7 +59,7 @@ class ToolbarToggleButton extends ToggleButton { // text var fnt:Font = Assets.getFont(Constants.MONTSERRAT_REGULAR_400); 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);