The given updateRect in screen coords (_Draw()/_DrawAfterChildren()) should
no longer extend outside the view after r25879. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25880 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -4697,7 +4697,6 @@ BView::_Draw(BRect updateRect)
|
|||||||
_SwitchServerCurrentView();
|
_SwitchServerCurrentView();
|
||||||
|
|
||||||
ConvertFromScreen(&updateRect);
|
ConvertFromScreen(&updateRect);
|
||||||
updateRect = Bounds() & updateRect;
|
|
||||||
|
|
||||||
// TODO: make states robust (the hook implementation could
|
// TODO: make states robust (the hook implementation could
|
||||||
// mess things up if it uses non-matching Push- and PopState(),
|
// mess things up if it uses non-matching Push- and PopState(),
|
||||||
@@ -4719,7 +4718,6 @@ BView::_DrawAfterChildren(BRect updateRect)
|
|||||||
_SwitchServerCurrentView();
|
_SwitchServerCurrentView();
|
||||||
|
|
||||||
ConvertFromScreen(&updateRect);
|
ConvertFromScreen(&updateRect);
|
||||||
updateRect = Bounds() & updateRect;
|
|
||||||
|
|
||||||
// TODO: make states robust (see above)
|
// TODO: make states robust (see above)
|
||||||
PushState();
|
PushState();
|
||||||
|
|||||||
Reference in New Issue
Block a user