Skip to content

Commit b7cd947

Browse files
committed
Fix minor visual glitch
1 parent 75c3ddb commit b7cd947

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Source/Toolbar.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,10 @@ class PowerButton final : public Component
14761476
toggle.onClick = [this] { toggle.getToggleState() ? pd->startDSP() : pd->releaseDSP(); };
14771477

14781478
chevron.setButtonText(Icons::ThinDown);
1479-
chevron.onClick = [this] { showCallout(); };
1479+
chevron.onClick = [this] {
1480+
chevronHovered = false; // Otherwise it hangs in hovered state
1481+
showCallout();
1482+
};
14801483

14811484
toggle.addMouseListener(this, false);
14821485
chevron.addMouseListener(this, false);

0 commit comments

Comments
 (0)