Skip to content

Commit

Permalink
Update control buttons look and feel
Browse files Browse the repository at this point in the history
  • Loading branch information
FangCunWuChang committed Jan 9, 2024
1 parent db30d83 commit b5a1ebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/component/ControllerComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ControllerComponent::ControllerComponent() {
this->pauseIcon = flowUI::IconManager::getSVG(
utils::getIconFile("Media", "pause-fill").getFullPathName());
this->pauseIcon->replaceColour(juce::Colours::black,
this->getLookAndFeel().findColour(juce::TextButton::ColourIds::textColourOffId));
this->getLookAndFeel().findColour(juce::TextButton::ColourIds::textColourOnId));
this->stopIcon = flowUI::IconManager::getSVG(
utils::getIconFile("Media", "stop-fill").getFullPathName());
this->stopIcon->replaceColour(juce::Colours::black,
Expand Down
2 changes: 1 addition & 1 deletion src/ui/lookAndFeel/LookAndFeelFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void LookAndFeelFactory::initialise() {
this->controllerLAF->setColour(juce::TextButton::ColourIds::buttonOnColourId,
ColorMap::getInstance()->get("ThemeColorB1"));
this->controllerLAF->setColour(juce::TextButton::ColourIds::textColourOffId,
ColorMap::getInstance()->get("ThemeColorB9"));
ColorMap::getInstance()->get("ThemeColorB8"));
this->controllerLAF->setColour(juce::TextButton::ColourIds::textColourOnId,
ColorMap::getInstance()->get("ThemeColorB10"));
this->controllerLAF->setColour(juce::ComboBox::ColourIds::outlineColourId,
Expand Down

0 comments on commit b5a1ebc

Please sign in to comment.