mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 923439 - bustage fix for wrong dragValue, rs=me
--HG-- extra : rebase_source : dff785523b1f78f63cf4fb24455a0dce8f35361e
This commit is contained in:
parent
02dc49aa4b
commit
98b9aa47ba
@ -796,12 +796,12 @@ CustomizeMode.prototype = {
|
||||
let dragOverItem, dragValue;
|
||||
if (targetNode == targetArea.customizationTarget) {
|
||||
dragOverItem = targetNode.lastChild;
|
||||
dragValue = "end";
|
||||
dragValue = "after";
|
||||
} else {
|
||||
let position = Array.indexOf(targetParent.children, targetNode);
|
||||
if (position == -1) {
|
||||
dragOverItem = targetParent.lastChild;
|
||||
dragValue = "end";
|
||||
dragValue = "after";
|
||||
} else {
|
||||
dragOverItem = targetParent.children[position];
|
||||
// Check if the aDraggedItem is hovered past the first half of dragOverItem
|
||||
|
Loading…
Reference in New Issue
Block a user