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} draggable={false}
style={{ style={{
userSelect: 'none', userSelect: 'none',
touchAction: 'none',
cursor: 'grab', cursor: 'grab',
objectFit: 'contain', objectFit: 'contain',
}} }}
@@ -474,8 +475,6 @@ export default function Page() {
index, index,
}); });
console.log(insertionMarkers);
return () => { return () => {
insertionMarkers.splice( insertionMarkers.splice(
insertionMarkers.findIndex( insertionMarkers.findIndex(