Skip to content

Commit

Permalink
Revert "fix: non-arrow drag controls (slidevjs#1740)"
Browse files Browse the repository at this point in the history
This reverts commit 2957624.
  • Loading branch information
KermanX committed Jul 9, 2024
1 parent 2957624 commit c4ef944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/composables/useDragElements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export function useDragElementsUpdater(no: number) {
}
}

export function useDragElement(directive: DirectiveBinding | null, posRaw?: string | number | number[], markdownSource?: DragElementMarkdownSource, isArrow = false) {
export function useDragElement(directive: DirectiveBinding | null, posRaw?: string | number | number[], markdownSource?: DragElementMarkdownSource, isArrow?: boolean) {
function inject<T>(key: InjectionKey<T> | string): T | undefined {
return directive
? directiveInject(directive, key)
Expand Down

0 comments on commit c4ef944

Please sign in to comment.