Skip to content

Commit

Permalink
MinimalTabBarStyles: invisible fill style for hit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Feb 23, 2024
1 parent 4e49858 commit a651292
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class MinimalTabBarStyles {
var isDesktop = DeviceUtil.isDesktop();
if (button.backgroundSkin == null) {
var backgroundSkin = new MinimalTabSkin();
backgroundSkin.fill = None;
backgroundSkin.fill = SolidColor(0xff00ff, 0.0); // for hit tests
backgroundSkin.selectedFill = SolidColor(theme.buttonFaceColor);
backgroundSkin.setFillForState(ButtonState.DOWN, SolidColor(theme.buttonDownColor));
backgroundSkin.setFillForState(ToggleButtonState.DOWN(false), SolidColor(theme.buttonDownColor));
Expand Down

0 comments on commit a651292

Please sign in to comment.