mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 16:48:44 +02:00
Tooltips for Wave & Note track vertical rulers
This commit is contained in:
parent
77d5a4cfa8
commit
bb970364c8
@ -55,9 +55,12 @@ HitTestPreview NoteTrackVZoomHandle::HitPreview(const wxMouseState &state)
|
||||
::MakeCursor(wxCURSOR_MAGNIFIER, ZoomInCursorXpm, 19, 15);
|
||||
static auto zoomOutCursor =
|
||||
::MakeCursor(wxCURSOR_MAGNIFIER, ZoomOutCursorXpm, 19, 15);
|
||||
const auto message =
|
||||
_("Click to verticaly zoom in, Shift-click to zoom out, Drag to create a particular zoom region.");
|
||||
return {
|
||||
_("Click to verticaly zoom in, Shift-click to zoom out, Drag to create a particular zoom region."),
|
||||
(state.ShiftDown() ? &*zoomOutCursor : &*zoomInCursor)
|
||||
message,
|
||||
(state.ShiftDown() ? &*zoomOutCursor : &*zoomInCursor),
|
||||
message
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -501,9 +501,12 @@ HitTestPreview WaveTrackVZoomHandle::HitPreview(const wxMouseState &state)
|
||||
::MakeCursor(wxCURSOR_MAGNIFIER, ZoomInCursorXpm, 19, 15);
|
||||
static auto zoomOutCursor =
|
||||
::MakeCursor(wxCURSOR_MAGNIFIER, ZoomOutCursorXpm, 19, 15);
|
||||
const auto message =
|
||||
_("Click to vertically zoom in. Shift-click to zoom out. Drag to specify a zoom region.");
|
||||
return {
|
||||
_("Click to vertically zoom in. Shift-click to zoom out. Drag to specify a zoom region."),
|
||||
(state.ShiftDown() ? &*zoomOutCursor : &*zoomInCursor)
|
||||
message,
|
||||
(state.ShiftDown() ? &*zoomOutCursor : &*zoomInCursor),
|
||||
message
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user