The OverlayImage window now gets activated after a drop of an image. Saves another click before being able to drag the Replicant handle.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37668 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -104,9 +104,10 @@ OverlayView::MessageReceived(BMessage *msg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
BRect rect = fBitmap->Bounds();
|
BRect rect = fBitmap->Bounds();
|
||||||
if (!fReplicated)
|
if (!fReplicated) {
|
||||||
Window()->ResizeTo(rect.right, rect.bottom);
|
Window()->ResizeTo(rect.right, rect.bottom);
|
||||||
|
Window()->Activate(true);
|
||||||
|
}
|
||||||
ResizeTo(rect.right, rect.bottom);
|
ResizeTo(rect.right, rect.bottom);
|
||||||
Invalidate();
|
Invalidate();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user