mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
3c46d14f74
commit
973a1eb747
@ -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