Browse Source

Minor formatting improvements

tags/2021-05-28
tpoole 7 years ago
parent
commit
fae4cf6567
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      examples/PlugInSamples/InterAppAudioEffect/Source/IAAEffectEditor.h

+ 2
- 2
examples/PlugInSamples/InterAppAudioEffect/Source/IAAEffectEditor.h View File

@@ -263,7 +263,8 @@ private:
{ {
switchToHostButtonLabel.setVisible (visible); switchToHostButtonLabel.setVisible (visible);
switchToHostButton.setVisible (visible); switchToHostButton.setVisible (visible);
if (visible) {
if (visible)
{
auto icon = hostType.getHostIcon (buttonSize); auto icon = hostType.getHostIcon (buttonSize);
switchToHostButton.setImages(false, true, true, switchToHostButton.setImages(false, true, true,
icon, 1.0, Colours::transparentBlack, icon, 1.0, Colours::transparentBlack,
@@ -289,7 +290,6 @@ private:
ImageButton switchToHostButton; ImageButton switchToHostButton;
Label transportText, switchToHostButtonLabel; Label transportText, switchToHostButtonLabel;
Image hostImage;
AudioPlayHead::CurrentPositionInfo lastPosInfo; AudioPlayHead::CurrentPositionInfo lastPosInfo;


Loading…
Cancel
Save