commit 8522ac35863f7f927aa11e49f3c4d989c853d9c4
parent 718ca15f5a1f890251c3454cd6f5e86d71ac5651
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Mon, 6 May 2024 19:39:31 +0200
fix tooltip intercepting mouse clicks
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/source/jucePluginEditorLib/focusedParameterTooltip.cpp b/source/jucePluginEditorLib/focusedParameterTooltip.cpp
@@ -7,6 +7,9 @@ namespace jucePluginEditorLib
FocusedParameterTooltip::FocusedParameterTooltip(juce::Label* _label) : m_label(_label), m_defaultWidth(_label ? _label->getWidth() : 0)
{
setVisible(false);
+
+ if(isValid())
+ m_label->setInterceptsMouseClicks(false,false);
}
void FocusedParameterTooltip::setVisible(bool _visible) const