mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 19:29:54 +02:00
Add changed display mode tracking
This commit is contained in:
parent
1eaa9e40cd
commit
ab057010d6
1 changed files with 5 additions and 0 deletions
|
@ -5266,6 +5266,11 @@ void Application::updateDisplayMode() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UserActivityLogger::getInstance().logAction("changed_display_mode", {
|
||||||
|
{ "previous_display_mode", _displayPlugin ? _displayPlugin->getName() : "" },
|
||||||
|
{ "display_mode", newDisplayPlugin ? newDisplayPlugin->getName() : "" }
|
||||||
|
});
|
||||||
|
|
||||||
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
||||||
|
|
||||||
// Make the switch atomic from the perspective of other threads
|
// Make the switch atomic from the perspective of other threads
|
||||||
|
|
Loading…
Reference in a new issue