mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 15:43:25 +00:00
fix elevation profile drag on retina screens
This commit is contained in:
@@ -501,8 +501,8 @@
|
||||
|
||||
overlay.width = canvas.width / window.devicePixelRatio;
|
||||
overlay.height = canvas.height / window.devicePixelRatio;
|
||||
overlay.style.width = `${canvas.width}px`;
|
||||
overlay.style.height = `${canvas.height}px`;
|
||||
overlay.style.width = `${overlay.width}px`;
|
||||
overlay.style.height = `${overlay.height}px`;
|
||||
|
||||
if ($slicedGPXStatistics) {
|
||||
let startIndex = $slicedGPXStatistics[1];
|
||||
|
Reference in New Issue
Block a user