fix: drag on mobile

This commit is contained in:
TrèsAbhi committed 2024-04-10 16:04:50 -05:00
1 parent c4d1e305f6
commit 519558dd28
1 file changed
+1 -2
+1 -2
View File
@@ -443,6 +443,7 @@ export default function Page() {
draggable={false}
style={{
userSelect: 'none',
touchAction: 'none',
cursor: 'grab',
objectFit: 'contain',
}}
@@ -474,8 +475,6 @@ export default function Page() {
index,
});
console.log(insertionMarkers);
return () => {
insertionMarkers.splice(
insertionMarkers.findIndex(