Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add skin color for macro slider border #6012

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/common/SkinColors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ const Surge::Skin::Color Background("modbutton.armed.fill", 0x74AC48),
namespace Macro
{
const Surge::Skin::Color Background("modbutton.macro.slider.background", 0x205DB0),
Border("modbutton.macro.slider.border", 0x123463),
Fill("modbutton.macro.slider.fill", 0x2E86FE),
CurrentValue("modbutton.macro.slider.currentvalue", 0xFF9000);

}
} // namespace ModSource

Expand Down
2 changes: 1 addition & 1 deletion src/common/SkinColors.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ extern const Surge::Skin::Color Background, Border, BorderHover, Text, TextHover
}
namespace Macro
{
extern const Surge::Skin::Color Background, Fill, CurrentValue;
extern const Surge::Skin::Color Background, Border, Fill, CurrentValue;
}
} // namespace ModSource

Expand Down
2 changes: 1 addition & 1 deletion src/surge-xt/gui/widgets/ModulationSourceButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ void ModulationSourceButton::paint(juce::Graphics &g)
g.fillRect(valRect);

// macro slider frame
g.setColour(skin->getColor(Colors::ModSource::Used::Background));
g.setColour(skin->getColor(Colors::ModSource::Macro::Border));
g.drawRect(bottomRect);

if (isBipolar)
Expand Down