zoom with offset x
This commit is contained in:
parent
60d4231575
commit
e934ac031d
4 changed files with 21 additions and 4 deletions
|
@ -23,6 +23,8 @@ pub fn signal_to_timeline(
|
|||
let timeline_viewport_x = timeline_viewport_x as f64;
|
||||
let timeline_width = timeline_viewport_width as f64 * timeline_zoom;
|
||||
|
||||
// @TODO hide blocks not visible in the viewport
|
||||
|
||||
let mut x_value_pairs = signal
|
||||
.iter_changes()
|
||||
.map(|(index, value)| {
|
||||
|
|
Reference in a new issue