webxdc / timetracking-webxdc

WIP xdc app for time tracking
GNU General Public License v3.0
5 stars 0 forks source link

Activity map continuously resizing #55

Open WofWca opened 2 months ago

WofWca commented 2 months ago

https://github.com/webxdc/timetracking-webxdc/assets/39462442/f0a5ad2f-bfcc-40f4-830c-89f319ae6fd4

Version: v0.8.0

I suspect this might have to do with weird fractional DPR (devicePixelRatio). This only appears to happen on some non-1 DPRs, not all non-1. For some reason it's hard (impossible?) to reproduce in the browser in dev mode, only when it's a webxdc app.

https://github.com/webxdc/timetracking-webxdc/blob/2b9332294da5f331a401850cb468679afd556732/src/pages/StatisticsPage.tsx#L181

Simon-Laux commented 1 month ago

I already started replacing it with this smaller lib: https://github.com/webxdc/timetracking-webxdc/pull/33