DU: Major drawing fixes in PFD
This commit is contained in:
parent
2123c545ff
commit
68b8c3a00e
3 changed files with 783 additions and 686 deletions
|
@ -1248,7 +1248,7 @@ var canvas_pfd = {
|
||||||
|
|
||||||
obj["ALT_scale"].setTranslation(0, -obj.middleAltOffset);
|
obj["ALT_scale"].setTranslation(0, -obj.middleAltOffset);
|
||||||
obj["ALT_scale"].update();
|
obj["ALT_scale"].update();
|
||||||
obj["ALT_tens"].setTranslation(0, num(right(sprintf("%02d", val.altitudePFD), 2)) * 1.392);
|
obj["ALT_tens"].setTranslation(0, num(right(sprintf("%02d", abs(val.altitudePFD)), 2)) * 1.498);
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
props.UpdateManager.FromHashValue("altitudeDigits", 1, func(val) {
|
props.UpdateManager.FromHashValue("altitudeDigits", 1, func(val) {
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Before Width: | Height: | Size: 348 KiB After Width: | Height: | Size: 354 KiB |
|
@ -1 +1 @@
|
||||||
51
|
52
|
Loading…
Reference in a new issue