cpd73 wrote: 
> If you open the developer tools on your browser, go to this console tab,
> and type:
> 
> > 
Code:
--------------------
  >   > window.devicePixelRatio
--------------------
> > 
> 
> and
> 
> > 
Code:
--------------------
  >   > matchMedia( "(-webkit-min-device-pixel-ratio: 2), 
(min-device-pixel-ratio: 2), (min-resolution: 192dpi)").matches;
--------------------
> > 
> 
> what is shown for each? I have no HighDPI devices, but the above
> -should- allow detection of HighDPI.
> 
> As standard Material asks for 300x300px images - but I'm guessing for
> HighDPI this should be 600x600px


Code:
--------------------
    
  > window.devicePixelRatio
  < 2 = $1
  > matchMedia( "(-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 
2), (min-resolution: 192dpi)").matches;
  < true = $2
  
--------------------


So, this means that the browser is "aware" of the HiDPI?

I now saw that the Artwork Pre-caching setting is enabled. And
MaterialSkin and iPeng9 has 300x300 artwork pre-cached... I tried to
empty the cache and disable pre-caching. Still same non-HiDPI artwork.


------------------------------------------------------------------------
masimus's Profile: http://forums.slimdevices.com/member.php?userid=66030
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to