feat: draggable timeline handles for Trim UI
Build Windows Release / Windows installer (push) Canceled after 0s

- Added visual timeline track with draggable start/end handles
- Handles show current trim positions with labels
- Keyboard support (Arrow keys) for precise adjustment
- Click on timeline to jump to position
- Synced with existing timestamp inputs
- Added formatDuration helper for consistent time display
This commit is contained in:
Alvin-Zilverstand committed 2026-09-11 15:58:16 +02:00
1 parent bfa263b45c
commit c31fca9226
3 files changed
+405 -30

No files matched your search

+8 -2
View File
@@ -1075,8 +1075,14 @@ fn parse_header_lines(value: &str) -> Vec<(String, String)> {
fn default_auto_clip_events_for_game(game_id: &str) -> Vec<&'static str> {
match game_id {
"league-of-legends" => vec!["kill", "death", "assist", "objective", "match_win"],
"counter-strike-2" => vec!["kill", "death", "assist", "round_win", "match_win", "multi_kill"],
"dota-2" => vec!["kill", "death", "assist", "objective", "match_win", "multi_kill"],
"counter-strike-2" => vec![
"kill", "death", "assist", "round_win", "match_win", "multi_kill",
"bomb_planted", "bomb_defused", "bomb_exploded", "mvp"
],
"dota-2" => vec![
"kill", "death", "assist", "objective", "match_win", "multi_kill",
"mvp"
],
_ => Vec::new(),
}
}