mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Hide cursor in 3D TV mode too
This commit is contained in:
parent
c5010c4d55
commit
1f8a874ce6
1 changed files with 3 additions and 1 deletions
|
@ -2137,7 +2137,9 @@ void Application::updateCursor(float deltaTime) {
|
|||
}
|
||||
|
||||
void Application::updateCursorVisibility() {
|
||||
if (!_cursorVisible || Menu::getInstance()->isOptionChecked(MenuOption::EnableVRMode)) {
|
||||
if (!_cursorVisible ||
|
||||
Menu::getInstance()->isOptionChecked(MenuOption::EnableVRMode) ||
|
||||
Menu::getInstance()->isOptionChecked(MenuOption::Enable3DTVMode)) {
|
||||
_window->setCursor(Qt::BlankCursor);
|
||||
} else {
|
||||
_window->unsetCursor();
|
||||
|
|
Loading…
Reference in a new issue