mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 23:37:31 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
ec217d91d9
20 changed files with 70 additions and 789 deletions
|
|
@ -833,13 +833,8 @@
|
|||
}
|
||||
|
||||
let sizedIconUrl = browser.mIconURL || "";
|
||||
if (sizedIconUrl) {
|
||||
let size = Math.round(16 * window.devicePixelRatio);
|
||||
sizedIconUrl += (sizedIconUrl.includes("#") ? "&" : "#") +
|
||||
"-moz-resolution=" + size + "," + size;
|
||||
}
|
||||
if (sizedIconUrl != aTab.getAttribute("image")) {
|
||||
if (browser.mIconURL)
|
||||
if (sizedIconUrl)
|
||||
aTab.setAttribute("image", sizedIconUrl);
|
||||
else
|
||||
aTab.removeAttribute("image");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue