Hotfix - Fix broken Type Shortcut (#3006)

* Fix broken type shortcut
This commit is contained in:
Arjun Balgovind 2020-05-14 10:56:36 -07:00 committed by GitHub
parent 91ac3f7931
commit 0692afcd90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,7 +198,6 @@ void KeyboardManagerState::UpdateDetectShortcutUI()
currentShortcutUI2.Visibility(Visibility::Collapsed);
}
int i = 0;
for (int i = 0; i < shortcut.size(); i++)
{
if (i < 3)
@ -209,7 +208,6 @@ void KeyboardManagerState::UpdateDetectShortcutUI()
{
AddKeyToLayout(currentShortcutUI2, shortcut[i]);
}
i++;
}
currentShortcutUI1.UpdateLayout();
currentShortcutUI2.UpdateLayout();