mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 12:28:51 +02:00
show the overlays when the context menu is shown
This commit is contained in:
parent
bf0fb7258a
commit
6b427e59ae
1 changed files with 1 additions and 0 deletions
|
@ -460,6 +460,7 @@ void OffscreenUi::unfocusWindows() {
|
|||
}
|
||||
|
||||
void OffscreenUi::toggleMenu(const QPoint& screenPosition) {
|
||||
emit showDesktop(); // we really only want to do this if you're showing the menu, but for now this works
|
||||
auto virtualPos = mapToVirtualScreen(screenPosition, nullptr);
|
||||
QMetaObject::invokeMethod(_desktop, "toggleMenu", Q_ARG(QVariant, virtualPos));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue