As per Stephans request re-added comment that I
removed in r37939. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37944 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2783,6 +2783,9 @@ ServerWindow::_DispatchViewDrawingMessage(int32 code,
|
||||
if (link.Read<BPoint>(&where) == B_OK) {
|
||||
ServerPicture* picture = App()->GetPicture(token);
|
||||
if (picture != NULL) {
|
||||
// Setting the drawing origin outside of the
|
||||
// state makes sure that everything the picture
|
||||
// does is relative to the global picture offset.
|
||||
fCurrentView->PushState();
|
||||
fCurrentView->SetDrawingOrigin(where);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user