Collate Dynamic Cockpit view toggle with blackout and G-compression toggles into a new Cockpit View Options dialog.
This commit is contained in:
parent
11d7de3e85
commit
c85be81196
1 changed files with 2 additions and 15 deletions
|
@ -100,19 +100,6 @@
|
|||
</binding>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<label>Toggle Dynamic Cockpit View</label>
|
||||
<name>dynamic-view</name>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
var p = "/sim/current-view/dynamic-view";
|
||||
setprop(p, var i = !getprop(p));
|
||||
gui.popupTip("Dynamic View " ~ (i ? "enabled" : "disabled"));
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<label>View Options</label>
|
||||
<binding>
|
||||
|
@ -130,10 +117,10 @@
|
|||
</item>
|
||||
|
||||
<item>
|
||||
<label>G-force Options</label>
|
||||
<label>Cockpit View Options</label>
|
||||
<binding>
|
||||
<command>dialog-show</command>
|
||||
<dialog-name>redout</dialog-name>
|
||||
<dialog-name>cockpit-view</dialog-name>
|
||||
</binding>
|
||||
</item>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue