Skip to content

Commit

Permalink
[fix] fix the placement can not update problem
Browse files Browse the repository at this point in the history
  • Loading branch information
f820602h committed Nov 16, 2023
1 parent fdf9b15 commit 10b6746
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vue-stage-play",
"description": "Designing a guided tour for your website with vue components, much like directing a stage play.",
"private": false,
"version": "0.5.1",
"version": "0.5.2",
"author": "max.lee <f820602h@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/f820602h/vue-stage-play#readme",
Expand Down
2 changes: 1 addition & 1 deletion src/components/StagePlayScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export const StagePlayScene = defineComponent({
});

const { floatingStyles } = useFloating(spotlight, voiceOver, {
placement: placement.value,
placement: placement,
whileElementsMounted: autoUpdate,
middleware: options.value.voiceOverAutoPlacement ? [shift(), flip()] : [],
});
Expand Down

0 comments on commit 10b6746

Please sign in to comment.