Skip to content

Commit

Permalink
Tiny cleanups (#1109)
Browse files Browse the repository at this point in the history
- Remove a client log on rescan
- Remove a specious macro rename matrix log message
- Make the group macros tabs accent_2 not 1
  • Loading branch information
baconpaul authored Aug 14, 2024
1 parent c2f3971 commit 446c009
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion clients/clap-first/scxt-plugin/scxt-plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@ void SCXTPlugin::onMainThread() noexcept
{
if (_host.canUseParams())
{
SCLOG("Rescanning params");
_host.paramsRescan(CLAP_PARAM_RESCAN_INFO | CLAP_PARAM_RESCAN_VALUES |
CLAP_PARAM_RESCAN_TEXT);
}
Expand Down
4 changes: 4 additions & 0 deletions src-ui/theme/ThemeApplier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ void ThemeApplier::applyZoneMultiScreenTheme(juce::Component *toThis)
void ThemeApplier::applyGroupMultiScreenModulationTheme(juce::Component *toThis)
{
jstl::CustomTypeMap map;
map.addCustomClass<jcmp::NamedPanel>(detail::multi::group::ModulationNamedPanel);
map.addCustomClass<jcmp::MultiSwitch>(detail::multi::group::ModulationMultiSwitch);
map.addCustomClass<jcmp::NamedPanel>(detail::multi::group::NamedPanel);
map.addCustomClass<jcmp::VSlider>(detail::multi::group::ModulationVSlider);
Expand Down Expand Up @@ -484,6 +485,9 @@ void applyColors(const sheet_t::ptr_t &base, const ColorMap &cols)
base->setColour(ModulationKnob, jcmp::Knob::Styles::value, cols.get(ColorMap::accent_2a));
base->setColour(ModulationKnob, jcmp::Knob::Styles::value_hover,
cols.get(ColorMap::accent_2a).brighter(0.1));

base->setColour(ModulationNamedPanel, jcmp::NamedPanel::Styles::selectedtab,
cols.get(ColorMap::accent_2a));
}
} // namespace group
} // namespace multi
Expand Down
1 change: 0 additions & 1 deletion src/messaging/client/macro_messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ inline void updateMacroFullState(const macroFullState_t &t, const engine::Engine
MessageController &cont)
{
const auto &[p, i, m] = t;
SCLOG("ToDo: Rebuild mod matrix when this is called");
cont.scheduleAudioThreadCallback(
[part = p, index = i, macro = m](auto &e) {
// Set everything except the value
Expand Down

0 comments on commit 446c009

Please sign in to comment.