Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.
Open
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
7 changes: 6 additions & 1 deletion src/editor_sections/filter_section.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void FilterSection::paintBackground(Graphics& g) {

g.setColour(Colors::control_label_text);
g.setFont(Fonts::instance()->proportional_regular().withPointHeight(size_ratio_ * 10.0f));

drawTextForComponent(g, TRANS("ENV DEPTH"), fil_env_depth_);
drawTextForComponent(g, TRANS("KEY TRACK"), keytrack_);
drawTextForComponent(g, TRANS("DRIVE"), drive_);
Expand Down Expand Up @@ -172,6 +172,11 @@ void FilterSection::resized() {
style_label_width - 2 * style_label_padding_x,
filter_type_width - 2 * style_label_padding_y);

// Filter style is not refreshed on initial opening of the window.
// Added safety check in case the filter is not initialiized at this point fot the first time.
if (filter_style_ != nullptr)
resetResponse();

SynthSection::resized();
}

Expand Down