mirror of
https://github.com/clangen/musikcube.git
synced 2025-03-28 05:37:19 +00:00
Don't debounce EQ updates -- it's not necessary.
This commit is contained in:
parent
f732a87f3d
commit
c43c8f1d90
@ -62,7 +62,6 @@ static const std::vector<std::string> BANDS = {
|
|||||||
"11840", "16744", "22000"
|
"11840", "16744", "22000"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int UPDATE_DEBOUNCE_MS = 350;
|
|
||||||
static const int VERTICAL_PADDING = 2;
|
static const int VERTICAL_PADDING = 2;
|
||||||
static const int MAX_HEIGHT = 8 + (int) BANDS.size();
|
static const int MAX_HEIGHT = 8 + (int) BANDS.size();
|
||||||
static const int DEFAULT_WIDTH = 46;
|
static const int DEFAULT_WIDTH = 46;
|
||||||
@ -223,7 +222,7 @@ bool EqualizerOverlay::KeyPress(const std::string& key) {
|
|||||||
|
|
||||||
void EqualizerOverlay::NotifyAndRedraw() {
|
void EqualizerOverlay::NotifyAndRedraw() {
|
||||||
this->listView->OnAdapterChanged();
|
this->listView->OnAdapterChanged();
|
||||||
this->Debounce(message::UpdateEqualizer, 0, 0, UPDATE_DEBOUNCE_MS);
|
this->plugin->Reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EqualizerOverlay::ProcessMessage(musik::core::runtime::IMessage &message) {
|
void EqualizerOverlay::ProcessMessage(musik::core::runtime::IMessage &message) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user