mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 08:57:34 +09:00
parent
470a6e4401
commit
13fcc4a046
949 changed files with 95662 additions and 444 deletions
|
|
@ -71,6 +71,18 @@ this.PageThumbUtils = {
|
|||
let windowScale = aWindow ? aWindow.devicePixelRatio : systemScale;
|
||||
let scale = Math.max(systemScale, windowScale);
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
/** *
|
||||
* On retina displays, we can sometimes go down this path
|
||||
* without a window object. In those cases, force 2x scaling
|
||||
* as the system scale doesn't represent the 2x scaling
|
||||
* on OS X.
|
||||
*/
|
||||
if (!aWindow) {
|
||||
scale = 2;
|
||||
}
|
||||
#endif
|
||||
|
||||
/** *
|
||||
* THESE VALUES ARE DEFINED IN newtab.css and hard coded.
|
||||
* If you change these values from the prefs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue