mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-16 00:34:19 +00:00
ToolbarButton fix.
This commit is contained in:
parent
18cfadf898
commit
ce513dc37d
2 changed files with 1 additions and 4 deletions
|
|
@ -73,6 +73,7 @@ void ToolbarButton::updateDrawable()
|
|||
{
|
||||
if (currentImage != nullptr)
|
||||
{
|
||||
currentImage->setInterceptsMouseClicks (false, false);
|
||||
currentImage->setTransformToFit (getContentArea().toFloat(), RectanglePlacement::centred);
|
||||
currentImage->setAlpha (isEnabled() ? 1.0f : 0.5f);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,10 +36,6 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
~ToolbarSpacerComp()
|
||||
{
|
||||
}
|
||||
|
||||
bool getToolbarItemSizes (int toolbarThickness, bool /*isToolbarVertical*/,
|
||||
int& preferredSize, int& minSize, int& maxSize)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue