Zoom, pan, value formatting #2

Merged
MartinKavik merged 23 commits from zoom_pan into main 2024-06-14 20:39:30 +00:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit aea55fa9e3 - Show all commits

View file

@ -57,3 +57,9 @@ Troubleshooting:
1. `makers bundle`
2. Runnable executable is in `target/release`
3. Installable bundles specific for the platform are in `target/release/bundle`
---
### Test files
See the folder `test_files`.

View file

@ -174,7 +174,7 @@ class VarSignalRow {
}
draw() {
// Screen can be null when we are, for instance, switching between miller column and tree layout
// Screen can be null when we are, for instance, switching between miller columns and tree layout
// and then the canvas has to be recreated
if (this.app.screen === null) {
return;
@ -182,6 +182,7 @@ class VarSignalRow {
this.row_container_background.width = this.app.screen.width;
// @TODO optimize by reusing a pool of blocks instead or removing all children on every redraw?
this.signal_blocks_container.removeChildren();
this.timeline.blocks.forEach(timeline_block => {
// signal_block