Setting through LLView::userSetShape now done through LLView::setShape. LLView::snappedTo renamed to LLView::setSnappedTo. virtual overriding of LLView::userSetShape now done through LLView::handleReshape which LLView::setShape calls.
This commit is contained in:
@@ -3069,7 +3069,7 @@ BOOL LLViewerWindow::handlePerFrameHover()
|
||||
LLRect notify_box_rect = gNotifyBoxView->getRect();
|
||||
notify_box_rect.mBottom = bar_rect.mBottom;
|
||||
gNotifyBoxView->reshape(notify_box_rect.getWidth(), notify_box_rect.getHeight());
|
||||
gNotifyBoxView->setRect(notify_box_rect);
|
||||
gNotifyBoxView->setShape(notify_box_rect);
|
||||
|
||||
// make sure floaters snap to visible rect by adjusting floater view rect
|
||||
LLRect floater_rect = gFloaterView->getRect();
|
||||
@@ -3079,7 +3079,7 @@ BOOL LLViewerWindow::handlePerFrameHover()
|
||||
// Don't bounce the floaters up and down.
|
||||
gFloaterView->reshapeFloater(floater_rect.getWidth(), floater_rect.getHeight(),
|
||||
TRUE, ADJUST_VERTICAL_NO);
|
||||
gFloaterView->setRect(floater_rect);
|
||||
gFloaterView->setShape(floater_rect);
|
||||
}
|
||||
|
||||
// snap floaters to top of chat bar/button strip
|
||||
|
||||
Reference in New Issue
Block a user