Do not activate item on twisty dblclick. Closes #3507

This commit is contained in:
Adomas Venčkauskas 2023-12-07 11:15:08 +02:00
parent 8a66fc02fe
commit 5a0f369f0b

View file

@ -2696,6 +2696,8 @@ var ItemTree = class ItemTree extends LibraryTree {
twisty.addEventListener('mousedown', event => event.stopPropagation());
twisty.addEventListener('mouseup', event => this.handleTwistyMouseUp(event, index),
{ passive: true });
twisty.addEventListener('dblclick', event => event.stopImmediatePropagation(),
{ passive: true });
}
const icon = this._getIcon(index);