Fixed normal bug EXT-4743 ('Stop flying' button disappears if minimize undocked movement controls)
- synchronized visibility of "stand_stop_flying_container" with a panel visibility when it is reparented from the Move Floater to container. --HG-- branch : product-enginemaster
parent
57e1216f79
commit
943f8afa09
|
|
@ -651,6 +651,9 @@ void LLPanelStandStopFlying::reparent(LLFloaterMove* move_view)
|
|||
// Detach from movement controls.
|
||||
parent->removeChild(this);
|
||||
mOriginalParent.get()->addChild(this);
|
||||
// update parent with self visibility (it is changed in setVisible()). EXT-4743
|
||||
mOriginalParent.get()->setVisible(getVisible());
|
||||
|
||||
mAttached = false;
|
||||
updatePosition(); // don't defer until next draw() to avoid flicker
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue