Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions MyGUIEngine/src/MyGUI_Widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,12 +606,14 @@ namespace MyGUI
setPosition(coord.point());
else if (resize)
setSize(coord.size());
else
_updateView();

// Unchanged local coordinates (including a resize rejected by an override) can still inherit movement.
if (mCroppedParent != nullptr && mAbsolutePosition != mCroppedParent->getAbsolutePosition() + mCoord.point())
_updateGeometry();

// Parent clipping can change even when alignments leave coordinates unchanged
// The coordinate setters may return early, so refresh the view explicitly
_updateView();
}

void Widget::setPosition(const IntPoint& _point)
Expand Down
Loading