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:
@@ -736,10 +736,9 @@ ActivityView::MessageReceived(BMessage* message)
|
|||||||
B_RGB_COLOR_TYPE, 0, (const void **)&color, &size) == B_OK) &&
|
B_RGB_COLOR_TYPE, 0, (const void **)&color, &size) == B_OK) &&
|
||||||
size == sizeof(rgb_color)) {
|
size == sizeof(rgb_color)) {
|
||||||
//message->PrintToStream();
|
//message->PrintToStream();
|
||||||
BPoint dropPoint, dropOffset;
|
BPoint dropPoint;
|
||||||
dropPoint = message->DropPoint(&dropOffset);
|
dropPoint = message->DropPoint();
|
||||||
ConvertFromScreen(&dropPoint);
|
ConvertFromScreen(&dropPoint);
|
||||||
dropPoint += dropOffset;
|
|
||||||
if (_HistoryFrame().Contains(dropPoint)) {
|
if (_HistoryFrame().Contains(dropPoint)) {
|
||||||
fBackgroundColor = *color;
|
fBackgroundColor = *color;
|
||||||
_UpdateOffscreenBitmap(true);
|
_UpdateOffscreenBitmap(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user