From ab47127ab5d77a3137ba44ff06c6840467e35fd0 Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Mon, 28 Oct 2024 09:32:45 -0700 Subject: [PATCH] Collapsible: focusRectSkin in default theme --- .../themes/steel/components/SteelCollapsibleStyles.hx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/feathers/themes/steel/components/SteelCollapsibleStyles.hx b/src/feathers/themes/steel/components/SteelCollapsibleStyles.hx index 8733eae7..c05871e5 100644 --- a/src/feathers/themes/steel/components/SteelCollapsibleStyles.hx +++ b/src/feathers/themes/steel/components/SteelCollapsibleStyles.hx @@ -76,6 +76,13 @@ class SteelCollapsibleStyles { icon.setViewForState(DISABLED(true), selectedDisabledIcon); } + if (button.focusRectSkin == null) { + var focusRectSkin = new RectangleSkin(); + focusRectSkin.fill = None; + focusRectSkin.border = theme.getFocusBorder(); + button.focusRectSkin = focusRectSkin; + } + if (button.textFormat == null) { button.textFormat = theme.getTextFormat(); }