mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 21:48:35 +01:00
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:
parent
655cb1d870
commit
f4ba1419da
@ -104,9 +104,10 @@ OverlayView::MessageReceived(BMessage *msg)
|
||||
}
|
||||
|
||||
BRect rect = fBitmap->Bounds();
|
||||
if (!fReplicated)
|
||||
if (!fReplicated) {
|
||||
Window()->ResizeTo(rect.right, rect.bottom);
|
||||
|
||||
Window()->Activate(true);
|
||||
}
|
||||
ResizeTo(rect.right, rect.bottom);
|
||||
Invalidate();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user