Apply the same logic of r24682 to the drawing of BPictures inside BPictures. Fixes part of bug #1389 (drawing pictures at an offset). Thanks to Karsten for his observations!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27267 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
014016620f
commit
52b877461d
@ -449,8 +449,10 @@ draw_picture(View *view, BPoint where, int32 token)
|
||||
{
|
||||
ServerPicture *picture = view->Window()->ServerWindow()->App()->FindPicture(token);
|
||||
if (picture != NULL) {
|
||||
view->CurrentState()->SetOrigin(where);
|
||||
view->SetDrawingOrigin(where);
|
||||
view->PushState();
|
||||
picture->Play(view);
|
||||
view->PopState();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user