A32X: Formatting fix
This commit is contained in:
parent
72599218b4
commit
ee65d06e9f
1 changed files with 12 additions and 12 deletions
|
@ -258,25 +258,25 @@ aglgears();
|
||||||
|
|
||||||
canvas.Text._lastText2 = "";
|
canvas.Text._lastText2 = "";
|
||||||
canvas.Text.setText = func (text) {
|
canvas.Text.setText = func (text) {
|
||||||
if (text == me._lastText2) {return me;}
|
if (text == me._lastText2) {return me;}
|
||||||
me._lastText2 = text;
|
me._lastText2 = text;
|
||||||
me.set("text", typeof(text) == 'scalar' ? text : "");
|
me.set("text", typeof(text) == 'scalar' ? text : "");
|
||||||
};
|
};
|
||||||
canvas.Element._lastVisible = 1;
|
canvas.Element._lastVisible = 1;
|
||||||
canvas.Element.show = func () {
|
canvas.Element.show = func () {
|
||||||
if (1 == me._lastVisible) {return me;}
|
if (1 == me._lastVisible) {return me;}
|
||||||
me._lastVisible = 1;
|
me._lastVisible = 1;
|
||||||
me.setBool("visible", 1);
|
me.setBool("visible", 1);
|
||||||
};
|
};
|
||||||
canvas.Element.hide = func () {
|
canvas.Element.hide = func () {
|
||||||
if (0 == me._lastVisible) {return me;}
|
if (0 == me._lastVisible) {return me;}
|
||||||
me._lastVisible = 0;
|
me._lastVisible = 0;
|
||||||
me.setBool("visible", 0);
|
me.setBool("visible", 0);
|
||||||
};
|
};
|
||||||
canvas.Element.setVisible = func (vis) {
|
canvas.Element.setVisible = func (vis) {
|
||||||
if (vis == me._lastVisible) {return me;}
|
if (vis == me._lastVisible) {return me;}
|
||||||
me._lastVisible = vis;
|
me._lastVisible = vis;
|
||||||
me.setBool("visible", vis);
|
me.setBool("visible", vis);
|
||||||
};
|
};
|
||||||
|
|
||||||
# In air, flaps 1 is slats only. On ground, it is slats and flaps.
|
# In air, flaps 1 is slats only. On ground, it is slats and flaps.
|
||||||
|
|
Reference in a new issue