Don't use the drop offset, much better now, it goes where the mouse is.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25032 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5464b10f1a
commit
9173ac083b
@ -736,10 +736,9 @@ ActivityView::MessageReceived(BMessage* message)
|
||||
B_RGB_COLOR_TYPE, 0, (const void **)&color, &size) == B_OK) &&
|
||||
size == sizeof(rgb_color)) {
|
||||
//message->PrintToStream();
|
||||
BPoint dropPoint, dropOffset;
|
||||
dropPoint = message->DropPoint(&dropOffset);
|
||||
BPoint dropPoint;
|
||||
dropPoint = message->DropPoint();
|
||||
ConvertFromScreen(&dropPoint);
|
||||
dropPoint += dropOffset;
|
||||
if (_HistoryFrame().Contains(dropPoint)) {
|
||||
fBackgroundColor = *color;
|
||||
_UpdateOffscreenBitmap(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user