app: give the clip's ends an arrow each on the scrubber
The clip's ends were 3 point bars that took whichever end the pointer pressed nearest, so a drag near the middle of the track moved an end instead of the picture, and the two bars were easy to miss on a long recording. Each end is now a round gold arrow over the knob, one per end, and only a drag that starts on an arrow moves that end. The track and the knob seek as before, in clip mode too. The played part of the track goes neutral while a clip is chosen, so gold marks the selection alone. The knob is centered on the play head now, so an arrow at the same second sits on it rather than a few points beside.
This commit is contained in:
1 parent
5ab3161bf5
commit
409be9d31a
2 files changed
+137
-54
No files matched your search
@@ -29,3 +29,16 @@ pub static FORWARD: Icon = Icon {
|
||||
view: 16.0,
|
||||
body: r#"<path d="M13.2 8 8.8 4.6v6.8Z" fill="currentColor"/><path d="M8.4 8 4 4.6v6.8Z" fill="currentColor"/>"#,
|
||||
};
|
||||
|
||||
/// One end of the clip: a single chevron, drawn on the scrubber over the knob.
|
||||
pub static CHEVRON_LEFT: Icon = Icon {
|
||||
name: "app-chevron-left",
|
||||
view: 16.0,
|
||||
body: r#"<path d="M10 3.6 5.4 8 10 12.4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>"#,
|
||||
};
|
||||
|
||||
pub static CHEVRON_RIGHT: Icon = Icon {
|
||||
name: "app-chevron-right",
|
||||
view: 16.0,
|
||||
body: r#"<path d="M6 3.6 10.6 8 6 12.4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>"#,
|
||||
};
|
||||
Reference in new issue
Block a user