mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 14:55:30 +02:00
Fix overlay toggling
This commit is contained in:
parent
7c65c9c444
commit
df31d20430
1 changed files with 1 additions and 1 deletions
|
@ -4821,7 +4821,7 @@ void Application::updateThreads(float deltaTime) {
|
|||
|
||||
void Application::toggleOverlays() {
|
||||
auto menu = Menu::getInstance();
|
||||
menu->setIsOptionChecked(MenuOption::Overlays, menu->isOptionChecked(MenuOption::Overlays));
|
||||
menu->setIsOptionChecked(MenuOption::Overlays, !menu->isOptionChecked(MenuOption::Overlays));
|
||||
}
|
||||
|
||||
void Application::setOverlaysVisible(bool visible) {
|
||||
|
|
Loading…
Reference in a new issue