Closed pre-martin closed 2 weeks ago
Good catch!
Try the Dev Build, should be fixed: https://github.com/Fragtality/PilotsDeck/blob/master/Install-PilotsDeck-latest.exe
That fix was really fast. I will test both issues on Friday.
Tested. Works fine now 👍
Fixed with Version 0.8.1
Environment: X-Plane, ZIBO B738 (but should be independent from the aircraft), PilotsDeck 0.8.0
I have configured a dial like follows:
X-Plane: DataRef
laminar/B738/electric/panel_brightness[0]
(values from 0 to 1.0)$-0.05:0
X-Plane: DataRef
laminar/B738/electric/panel_brightness[0]
$0.05:1
When the DataRef has the value
1
and I start to turn the dial to the left, I get the following values:Then the value stays at
0.04
and does not decrease any more. Impossible to get the value0
. The same happens in the other direction: With the dial, I cannot get values higher than0.950000166893005
.I assume that the plugin wants to decrease this last value by 0.05, but it doesn't because 0.049 is already too low. As far as I understood, the expression $-0.05:0 should decrease the value down to 0. If I am not wrong, maybe you could implement something, that if the last decrement or increment is too small/high, that you jump to the final value. So from
0.049
to0
and from0.095000001....
to1
.