diff --git a/src/app/Marine2/components/views/DiagnosticsView.tsx b/src/app/Marine2/components/views/DiagnosticsView.tsx index 8daf98e2..8640bc68 100644 --- a/src/app/Marine2/components/views/DiagnosticsView.tsx +++ b/src/app/Marine2/components/views/DiagnosticsView.tsx @@ -69,6 +69,10 @@ const getDeviceDiagnostics = (windowSize: { width?: number; height?: number }) = property: translate("diagnostics.device.viewportHeight"), value: (windowSize.height ?? window.innerHeight) + "px", }, + { + property: translate("diagnostics.device.devicePixelRatio"), + value: (window.devicePixelRatio ?? 1) + "px/pt", + }, ] } diff --git a/src/app/locales/languages/en.json b/src/app/locales/languages/en.json index 1ad5d0f4..e2a2c12f 100644 --- a/src/app/locales/languages/en.json +++ b/src/app/locales/languages/en.json @@ -116,7 +116,8 @@ "device": "Device", "userAgent": "User agent", "viewportHeight": "Viewport height", - "viewportWidth": "Viewport width" + "viewportWidth": "Viewport width", + "devicePixelRatio": "Pixel Ratio" }, "diagnostics": "Diagnostics" },