Basically revert r37824 (minus restoring the origin), since it causes other
problems (#6415 for example). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37833 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7283e760ab
commit
bb69cd6548
|
@ -516,7 +516,6 @@ draw_picture(View* view, BPoint where, int32 token)
|
|||
= view->Window()->ServerWindow()->App()->GetPicture(token);
|
||||
if (picture != NULL) {
|
||||
BPoint origin = view->DrawingOrigin();
|
||||
view->ConvertToScreenForDrawing(&where);
|
||||
view->SetDrawingOrigin(where);
|
||||
view->PushState();
|
||||
picture->Play(view);
|
||||
|
|
|
@ -2786,7 +2786,6 @@ ServerWindow::_DispatchViewDrawingMessage(int32 code,
|
|||
// state makes sure that everything the picture
|
||||
// does is relative to the global picture offset.
|
||||
BPoint origin = fCurrentView->DrawingOrigin();
|
||||
fCurrentView->ConvertToScreenForDrawing(&where);
|
||||
fCurrentView->SetDrawingOrigin(where);
|
||||
|
||||
fCurrentView->PushState();
|
||||
|
|
Loading…
Reference in New Issue