snowball ui fiix
This commit is contained in:
parent
ce22139bb3
commit
7aff0d0283
|
|
@ -192,7 +192,7 @@ function useSortable(items, setItems, setDirty) {
|
||||||
|
|
||||||
const onPointerDown = useCallback((e, index) => {
|
const onPointerDown = useCallback((e, index) => {
|
||||||
// Only trigger on the grip handle (data-grip attr)
|
// Only trigger on the grip handle (data-grip attr)
|
||||||
if (!e.currentTarget.dataset.grip) return;
|
if (!e.currentTarget.hasAttribute('data-grip')) return;
|
||||||
// Ignore right-click
|
// Ignore right-click
|
||||||
if (e.button !== undefined && e.button !== 0) return;
|
if (e.button !== undefined && e.button !== 0) return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue