mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
[Pale-Moon] Issue #1845 - Pref detach&tear-off tab handling.
Resolves #1845
This commit is contained in:
parent
6ee59c813d
commit
ef13be6ef8
2 changed files with 9 additions and 0 deletions
|
|
@ -477,6 +477,10 @@ pref("browser.tabs.showAudioPlayingIcon", true);
|
|||
// This should match Chromium's audio indicator delay.
|
||||
pref("browser.tabs.delayHidingAudioPlayingIconMS", 3000);
|
||||
|
||||
// Whether dragging a tab off the tab bar to tear it off into its own
|
||||
// window is enabled.
|
||||
pref("browser.tabs.allowTabDetach", true);
|
||||
|
||||
pref("browser.allTabs.previews", true);
|
||||
pref("browser.allTabs.hidePinnedTabs", false);
|
||||
pref("browser.ctrlTab.previews", true);
|
||||
|
|
|
|||
|
|
@ -4831,6 +4831,11 @@
|
|||
return;
|
||||
}
|
||||
|
||||
// Check if tab detaching is enabled
|
||||
if (!Services.prefs.getBoolPref("browser.tabs.allowTabDetach")) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Disable detach within the browser toolbox
|
||||
var eX = event.screenX;
|
||||
var eY = event.screenY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue