zoom on time line

This commit is contained in:
2025-07-19 13:34:15 +02:00
parent ad6d09b8a5
commit d841c9fdb4
2 changed files with 81 additions and 19 deletions

View File

@@ -17,12 +17,12 @@ mod gui;
use gui::{load_file_view, music_view};
use iced::Font;
use iced::Theme;
use iced::{
Color, Event, Task,
event::{self, Status},
keyboard::{Key, key::Named},
};
use iced::Theme;
use std::time::Instant;
@@ -190,7 +190,6 @@ impl MyApp {
}
Message::ChangeDelta(f) => {
self.already_save = false;
self.current_delta = f;
self.music.fix_teta(self.current_delta);
// update the red dot on canvas