mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
Hide cursor at MainWindow level when in VRMode
This commit is contained in:
parent
d6bf0f3bec
commit
c5010c4d55
1 changed files with 2 additions and 2 deletions
|
@ -2138,9 +2138,9 @@ void Application::updateCursor(float deltaTime) {
|
|||
|
||||
void Application::updateCursorVisibility() {
|
||||
if (!_cursorVisible || Menu::getInstance()->isOptionChecked(MenuOption::EnableVRMode)) {
|
||||
_glWidget->setCursor(Qt::BlankCursor);
|
||||
_window->setCursor(Qt::BlankCursor);
|
||||
} else {
|
||||
_glWidget->unsetCursor();
|
||||
_window->unsetCursor();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue