1
0
Fork 0

DU: Major drawing fixes in PFD

This commit is contained in:
Josh Davidson 2022-05-05 17:20:28 -04:00
parent 2123c545ff
commit 68b8c3a00e
3 changed files with 783 additions and 686 deletions

View file

@ -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

View file

@ -1 +1 @@
51 52