Tracker: Fix garbled text when dragging cut poses
* Determine whether we're currently dragging by looking at the current window message what, dragging replaces direct in a few places especially crucial to drawing semi-transparent dragged items correctly. * Export kMsgMouseDragged and kMsgMouseLongDown to the BPoseView header to check for dragging (but still in BPrivate). * Turn on outline label drawing for dragged items and remove TODO. Fixes #6461 Change-Id: I45cd401299dec408b76cb4b9ce1e9350ed59ef5b Reviewed-on: https://review.haiku-os.org/c/haiku/+/8842 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
44d74ab075
commit
3527a0ee23
@@ -109,8 +109,6 @@ const float kDoubleClickTresh = 6;
|
||||
const uint32 kAddNewPoses = 'Tanp';
|
||||
const uint32 kAddPosesCompleted = 'Tapc';
|
||||
const int32 kMaxAddPosesChunk = 50;
|
||||
const uint32 kMsgMouseDragged = 'Mdrg';
|
||||
const uint32 kMsgMouseLongDown = 'Mold';
|
||||
|
||||
const int32 kRoomForLine = 2;
|
||||
|
||||
@@ -9551,8 +9549,7 @@ BPoseView::ResizeColumnToWidest(BColumn* column)
|
||||
|
||||
|
||||
BPoint
|
||||
BPoseView::ResizeColumn(BColumn* column, float newSize,
|
||||
float* lastLineDrawPos,
|
||||
BPoseView::ResizeColumn(BColumn* column, float newSize, float* lastLineDrawPos,
|
||||
void (*drawLineFunc)(BPoseView*, BPoint, BPoint),
|
||||
void (*undrawLineFunc)(BPoseView*, BPoint, BPoint))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user