]> git.mxchange.org Git - simgear.git/commit
Add 'release' bindings to knob animation.
authorJames Turner <zakalawe@mac.com>
Sun, 3 Feb 2013 17:11:05 +0000 (17:11 +0000)
committerJames Turner <zakalawe@mac.com>
Sun, 3 Feb 2013 17:11:05 +0000 (17:11 +0000)
commit0870407f65fe3fca09099df81271f116b60d0c91
tree5171acfb578a63a0edbc4da1e5da6cc066b6fbe3
parente8156c6bd9fdb94e2438db9f836881784df16f75
Add 'release' bindings to knob animation.

Currently this fires on button release, but also after any mouse-wheel movement (since they are sent as buttons). This feels slightly wrong, but can't decide how a spring-loaded know would work, when interacting via the mouse-wheel. Comments welcome.
simgear/scene/model/SGPickAnimation.cxx