forked from ZenBrowserMirrors/zen-desktop
Adjust tab height calculations and improve icon state handling in ZenStartup and ZenPinnedTabManager
This commit is contained in:
parent
54f5042c3c
commit
6d5dcbe89f
3 changed files with 38 additions and 17 deletions
|
@ -369,8 +369,10 @@
|
|||
title: pin.title,
|
||||
triggeringPrincipal_base64: lazy.E10SUtils.SERIALIZED_SYSTEMPRINCIPAL
|
||||
}];
|
||||
if (icon) {
|
||||
if (icon instanceof Ci.nsIURI || typeof icon === "string") {
|
||||
state.image = icon;
|
||||
} else {
|
||||
state.image = null;
|
||||
}
|
||||
state.index = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue