mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:57:34 +00:00
Piano+LibDSP: Move Track to LibDSP
This is a tangly commit and it fixes all the bugs that a plain move would have caused (i.e. we need to touch other logic which had wrong assumptions).
This commit is contained in:
parent
125122a9ab
commit
4941cffdd0
29 changed files with 322 additions and 413 deletions
|
@ -35,9 +35,9 @@ public:
|
|||
auto value = static_cast<EnumT>(model_index.row());
|
||||
m_parameter.set_value_sneaky(value, DSP::Detail::ProcessorParameterSetValueTag {});
|
||||
};
|
||||
m_parameter.did_change_value = [this](auto new_value) {
|
||||
m_parameter.register_change_listener([this](auto new_value) {
|
||||
set_selected_index(static_cast<int>(new_value));
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
// Release focus when escape is pressed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue