More readable toggle
This commit is contained in:
parent
fa054eac22
commit
8e2795c6a2
@ -152,7 +152,7 @@ void AnalyzerContainer::DisableAnalyzer() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void AnalyzerContainer::TogglePsychedelicColors() {
|
void AnalyzerContainer::TogglePsychedelicColors() {
|
||||||
psychedelic_colors_on_ ^= true;
|
psychedelic_colors_on_ = !psychedelic_colors_on_;
|
||||||
current_analyzer_->psychedelicModeChanged(psychedelic_colors_on_);
|
current_analyzer_->psychedelicModeChanged(psychedelic_colors_on_);
|
||||||
SavePsychedelic();
|
SavePsychedelic();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user