Skip to content

Commit 2daa1c6

Browse files
committed
adapt to code style
1 parent dc2d9fc commit 2daa1c6

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

dist/draggable.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/draggable.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/draggable.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ export const Draggable: DirectiveOptions = {
164164
return;
165165
}
166166

167-
el.style.touchAction = 'none'
168-
el.style.position = 'fixed';
167+
el.style.touchAction = "none";
168+
el.style.position = "fixed";
169169
el.style.left = `${state.currentDragPosition.left}px`;
170170
el.style.top = `${state.currentDragPosition.top}px`;
171171
}

0 commit comments

Comments
 (0)