mbehr1 / dlt-logs

Visual Studio Code extension that adds support to open DLT (genivi, AUTOSAR) diagnostic log and trace files with lifecycle detection, filters, time-sync, etc.
Other
15 stars 9 forks source link

fix(report): hotfix to reenable zoom on resize #132

Closed mbehr1 closed 1 year ago

mbehr1 commented 1 year ago

If a single chart is drawn on resize/increase window size the chart is not redrawn/resized. This seems to be due to https://github.com/chartjs/Chart.js/issues/11139

Added a workaround by adding 2nd canvas. This adds a small padding and thus invalidates the end-end tests but strangely helps to avoid the issue.