Add InteractionHandler to global property gui

Add property to interactionhandler to enable/disable rotational and zoom friction
This commit is contained in:
Alexander Bock
2016-06-29 22:42:12 +02:00
parent 2f9b873f1c
commit 5a5ffd76bb
6 changed files with 61 additions and 13 deletions

View File

@@ -16,6 +16,9 @@ helper.setCommonKeys = function()
openspace.bindKey("COMMA", "openspace.setRenderer('Framebuffer');")
openspace.bindKey("PERIOD", "openspace.setRenderer('ABuffer');")
openspace.bindKey("f", helper.property.invert('Interaction.rotationalFriction'))
openspace.bindKey("Shift+f", helper.property.invert('Interaction.zoomFriction'))
end
helper.setDeltaTimeKeys = function(t)