A3XX: Fix scrolling knobs changing view

This commit is contained in:
Joshua Davidson 2017-12-22 08:16:48 -05:00
parent f984b4075a
commit 9b51ee9f1a
2 changed files with 13 additions and 1 deletions

View file

@ -926,6 +926,12 @@
<script></script>
</binding>
<binding n="1">
<condition>
<and>
<property>/devices/status/mice/mouse[0]/button[2]</property>
<not><property>/sim/mouse/right-button-mode-cycle-enabled</property></not>
</and>
</condition>
<command>nasal</command>
<script>
if (getprop("/sim/current-view/can-change-z-offset")) {
@ -948,6 +954,12 @@
<script></script>
</binding>
<binding n="1">
<condition>
<and>
<property>/devices/status/mice/mouse[0]/button[2]</property>
<not><property>/sim/mouse/right-button-mode-cycle-enabled</property></not>
</and>
</condition>
<command>nasal</command>
<script>
if (getprop("/sim/current-view/can-change-z-offset")) {

View file

@ -1 +1 @@
4107
4108