mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 12:59:07 -06:00
Move friction properties into common subowner
This commit is contained in:
@@ -52,18 +52,18 @@ helper.setCommonKeys = function()
|
||||
|
||||
openspace.bindKey(
|
||||
"f",
|
||||
helper.property.invert('NavigationHandler.OrbitalNavigator.RotationalFriction'),
|
||||
helper.property.invert('NavigationHandler.OrbitalNavigator.Friction.RotationalFriction'),
|
||||
"Toggles the rotational friction of the camera. If it is disabled, the camera rotates around the focus object indefinitely."
|
||||
)
|
||||
|
||||
openspace.bindKey(
|
||||
"Shift+f",
|
||||
helper.property.invert('NavigationHandler.OrbitalNavigator.ZoomFriction'),
|
||||
helper.property.invert('NavigationHandler.OrbitalNavigator.Friction.ZoomFriction'),
|
||||
"Toggles the zoom friction of the camera. If it is disabled, the camera rises up from or closes in towards the focus object indefinitely."
|
||||
)
|
||||
openspace.bindKey(
|
||||
"Ctrl+f",
|
||||
helper.property.invert('NavigationHandler.OrbitalNavigator.RollFriction'),
|
||||
helper.property.invert('NavigationHandler.OrbitalNavigator.Friction.RollFriction'),
|
||||
"Toggles the roll friction of the camera. If it is disabled, the camera rolls around its own axis indefinitely."
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user