Tooltips for Sliders of type LinearBars

Hello Jules,

I found that Sliders of type LinearBar and LinearBarVertical cannot support tooltips. Is there a reason for this?

Do you think you could change this code in Slider::Pimpl::lookAndFeelChanged() from:

if (style == LinearBar || style == LinearBarVertical)
{
    valueBox->addMouseListener (&owner, false);
    valueBox->setMouseCursor (MouseCursor::ParentCursor);
}
else
{
    valueBox->setTooltip (owner.getTooltip());
}

to:

if (style == LinearBar || style == LinearBarVertical)
{
    valueBox->addMouseListener (&owner, false);
    valueBox->setMouseCursor (MouseCursor::ParentCursor);
}

valueBox->setTooltip (owner.getTooltip());

?

Good question - it's probably just old code that needs sanity-checking, I'll have a look, thanks!