Tidy up a couple things. toggleSwitch doesn't need to be public.

This commit is contained in:
The Dax committed 2013-10-21 16:57:31 -04:00
1 parent db370c1fd3
commit 62e3afd297
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -101,6 +101,8 @@ UI::EventReturn TouchControlVisibilityScreen::OnToggleAll(UI::EventParams &e) {
for (auto i = keyToggles.begin(); i != keyToggles.end(); ++i) {
*i->second = toggleSwitch;
}
toggleSwitch = !toggleSwitch;
return UI::EVENT_DONE;
}