v1.3.2
The logic behind annotation addition/removal/alteration was overhauled entirely. The annotations are re-generated now every time a change is made as this allows for better control over when annotations are removed or moved/resized (specifically in the viewing annotations-only mode). For this, Plotly was updated to v5.18.0.
Unfortunately, the way to achieve these changes is still relatively clumsy at the moment, resulting in some small additional loading times. On the other hand, this allows for immediate automatic merging of overlapping annotations (with the same label) as well as resizing of annotations when made in different Zoom levels (after next change to annotations). Additionally, the current annotation label is shown while annotation is drawn (disappears as soon as annotation is finished).
This version fixed several bugs (importantly, a bug where the last/only annotation could not be removed), especially with the viewing annotations-only mode. The latter now also updates the range and current position of the segment-slider.
Additional changes and bug fixes:
- Segment switching was sped up
- Segment-slider length is updated when new EEG recording is loaded
- Annotations are now sorted by onset (also for save file)
- Canceling annotation drawing by drawing 0-second annotation no longer errors
- Running the internal model only happens after "Plot" button was pressed
- Removing model predictions updates y-axis range and ticks
Full Changelog: v1.3.1...v1.3.2