A3XX: Improve hackCanvas to fix ND bugs
This commit is contained in:
parent
e5a9f06d61
commit
72599218b4
1 changed files with 5 additions and 0 deletions
|
@ -273,6 +273,11 @@ canvas.Element.hide = func () {
|
|||
me._lastVisible = 0;
|
||||
me.setBool("visible", 0);
|
||||
};
|
||||
canvas.Element.setVisible = func (vis) {
|
||||
if (vis == me._lastVisible) {return me;}
|
||||
me._lastVisible = vis;
|
||||
me.setBool("visible", vis);
|
||||
};
|
||||
|
||||
# In air, flaps 1 is slats only. On ground, it is slats and flaps.
|
||||
|
||||
|
|
Reference in a new issue