mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 08:53:28 +02:00
Bug fix for previous commit
This commit is contained in:
parent
9be6fe2192
commit
2760065ee1
1 changed files with 1 additions and 1 deletions
|
@ -4168,7 +4168,7 @@ void Application::setKeyboardFocusOverlay(unsigned int overlayID) {
|
|||
auto size = overlay->getSize() * FOCUS_HIGHLIGHT_EXPANSION_FACTOR;
|
||||
const float OVERLAY_DEPTH = 0.0105f;
|
||||
setKeyboardFocusHighlight(overlay->getPosition(), overlay->getRotation(), glm::vec3(size.x, size.y, OVERLAY_DEPTH));
|
||||
} else {
|
||||
} else if (_keyboardFocusHighlight) {
|
||||
_keyboardFocusHighlight->setVisible(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue