mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
Bug 940387 - when dragging wide items in Australis' palette, don't fix insertion point to first item in row, r=mikedeboer
This commit is contained in:
parent
2a057966b4
commit
04bb408e00
@ -101,7 +101,7 @@ AreaPositionManager.prototype = {
|
||||
let doc = aContainer.ownerDocument;
|
||||
let draggedItem = doc.getElementById(aDraggedItemId);
|
||||
// If dragging a wide item, always pick the first item in a row:
|
||||
if (draggedItem &&
|
||||
if (this._inPanel && draggedItem &&
|
||||
draggedItem.classList.contains(CustomizableUI.WIDE_PANEL_CLASS)) {
|
||||
return this._firstInRow(closest);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user