- increased coarse multiplicator
- cosmetics
This commit is contained in:
parent
c050b436fa
commit
1fd9e31243
3 changed files with 8 additions and 5 deletions
|
@ -31,7 +31,7 @@
|
||||||
</button>
|
</button>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<hrule><whatever/></hrule>
|
<hrule/>
|
||||||
|
|
||||||
<nasal>
|
<nasal>
|
||||||
<open>
|
<open>
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
update : func {
|
update : func {
|
||||||
var offset = me.sliderN.getValue();
|
var offset = me.sliderN.getValue();
|
||||||
var value = me.offsetN.getValue() + me.sliderN.getValue() - me.last_slider;
|
var value = me.offsetN.getValue() + me.sliderN.getValue() - me.last_slider;
|
||||||
var factor = kbdctrl.getValue() ? 5 : kbdshift.getValue() ? 0.1 : 1;
|
var factor = kbdctrl.getValue() ? 10 : kbdshift.getValue() ? 0.1 : 1;
|
||||||
ufo.modelmgr.adjust(me.name, value * factor, 1); # 1 -> scale with distance
|
ufo.modelmgr.adjust(me.name, value * factor, 1); # 1 -> scale with distance
|
||||||
me.offsetN.setDoubleValue(0);
|
me.offsetN.setDoubleValue(0);
|
||||||
me.last_slider = offset;
|
me.last_slider = offset;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
</button>
|
</button>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<hrule><whatever/></hrule>
|
<hrule/>
|
||||||
|
|
||||||
<nasal>
|
<nasal>
|
||||||
<open>
|
<open>
|
||||||
|
|
|
@ -89,14 +89,17 @@
|
||||||
|
|
||||||
<line>Pre-select initial model (path relative to $FG_ROOT):</line>
|
<line>Pre-select initial model (path relative to $FG_ROOT):</line>
|
||||||
<line>  --prop:cursor=Model/path.xml</line>
|
<line>  --prop:cursor=Model/path.xml</line>
|
||||||
<line></line>
|
<line/>
|
||||||
<line>Set directories that are scanned for models (comma separated and</line>
|
<line>Set directories that are scanned for models (comma separated and</line>
|
||||||
<line>relative to $FG_ROOT; default: Models):</line>
|
<line>relative to $FG_ROOT; default: Models):</line>
|
||||||
<line>  --prop:source=Models,Scenery/Objects</line>
|
<line>  --prop:source=Models,Scenery/Objects</line>
|
||||||
<line></line>
|
<line/>
|
||||||
<line>Exported data are written to:</line>
|
<line>Exported data are written to:</line>
|
||||||
<line>  ~/.fgfs/ufo-model-export.xml (Unix)</line>
|
<line>  ~/.fgfs/ufo-model-export.xml (Unix)</line>
|
||||||
<line>  %APPDATA%\flightgear.org\ufo-model-export.xml (Microsoft Windows)</line>
|
<line>  %APPDATA%\flightgear.org\ufo-model-export.xml (Microsoft Windows)</line>
|
||||||
|
<line/>
|
||||||
|
<line>In the adjustment dialog (SPACE-key) holding the Ctrl or Shift key down</line>
|
||||||
|
<line>makes slider effects coarser/finer.</line>
|
||||||
</help>
|
</help>
|
||||||
</sim>
|
</sim>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue