mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-16 08:34:10 +02:00
Revert 72f20d91; Pointer for TCP cursor.
- The TCP cursor is indicating both selection and dragability, so we use the arrow (as UI for tabs does, which are selectable and draggable). - When actually dragging, we use the clenched fist icon, not the new clenched fist with the fingers cut off icon (aka snowball icon).
This commit is contained in:
parent
4512ad76ac
commit
0fcb965b15
@ -147,10 +147,14 @@ HitTestPreview TrackSelectHandle::Preview
|
||||
static auto disabledCursor =
|
||||
::MakeCursor(wxCURSOR_NO_ENTRY, DisabledCursorXpm, 16, 16);
|
||||
//static wxCursor rearrangeCursor{ wxCURSOR_HAND };
|
||||
static auto hoverCursor =
|
||||
static auto rearrangeCursor =
|
||||
::MakeCursor(wxCURSOR_HAND, RearrangeCursorXpm, 16, 16);
|
||||
static auto clickedCursor =
|
||||
::MakeCursor(wxCURSOR_HAND, RearrangingCursorXpm, 16, 16);
|
||||
|
||||
|
||||
//static auto hoverCursor =
|
||||
// ::MakeCursor(wxCURSOR_HAND, RearrangeCursorXpm, 16, 16);
|
||||
//static auto clickedCursor =
|
||||
// ::MakeCursor(wxCURSOR_HAND, RearrangingCursorXpm, 16, 16);
|
||||
|
||||
const auto trackCount = TrackList::Get( *project ).Leaders().size();
|
||||
auto message = Message(trackCount);
|
||||
@ -161,7 +165,7 @@ HitTestPreview TrackSelectHandle::Preview
|
||||
message,
|
||||
(unsafe
|
||||
? &*disabledCursor
|
||||
: &*clickedCursor)
|
||||
: &*rearrangeCursor)
|
||||
// , message // Stop showing the tooltip after the click
|
||||
};
|
||||
}
|
||||
@ -171,7 +175,7 @@ HitTestPreview TrackSelectHandle::Preview
|
||||
static wxCursor arrowCursor{ wxCURSOR_ARROW };
|
||||
return {
|
||||
message,
|
||||
&*hoverCursor,
|
||||
&arrowCursor,
|
||||
message
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user