mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-15 00:17:48 -06:00
Add InteractionHandler to global property gui
Add property to interactionhandler to enable/disable rotational and zoom friction
This commit is contained in:
@@ -440,7 +440,10 @@ bool OpenSpaceEngine::initialize() {
|
||||
_gui->initialize();
|
||||
_gui->_globalProperty.setSource(
|
||||
[&]() {
|
||||
std::vector<properties::PropertyOwner*> res = { _settingsEngine.get() };
|
||||
std::vector<properties::PropertyOwner*> res = {
|
||||
_settingsEngine.get(),
|
||||
_interactionHandler.get()
|
||||
};
|
||||
return res;
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user