Bläddra i källkod

Merge branch 'master' of gitlab.com:Isleward/isleward

tags/v0.7.0^2
Shaun 4 år sedan
förälder
incheckning
616f1eded4
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      src/client/js/misc/helpers.js

+ 2
- 2
src/client/js/misc/helpers.js Visa fil

@@ -1,6 +1,6 @@
window.isMobile = /Mobi|Android/i.test(navigator.userAgent);
window.scale = isMobile ? 32 : 40;
window.scaleMult = isMobile ? 4 : 5;
window.scale = isMobile ? 32 : 40 * window.devicePixelRatio;
window.scaleMult = isMobile ? 4 : 5 * window.devicePixelRatio;

//eslint-disable-next-line no-extend-native
Array.prototype.spliceWhere = function (callback, thisArg) {


Laddar…
Avbryt
Spara