More readable toggle

This commit is contained in:
Mark Furneaux 2015-07-02 08:10:08 -04:00
parent fa054eac22
commit 8e2795c6a2

View File

@ -152,7 +152,7 @@ void AnalyzerContainer::DisableAnalyzer() {
}
void AnalyzerContainer::TogglePsychedelicColors() {
psychedelic_colors_on_ ^= true;
psychedelic_colors_on_ = !psychedelic_colors_on_;
current_analyzer_->psychedelicModeChanged(psychedelic_colors_on_);
SavePsychedelic();
}