Skip to content

Commit 21e93ae

Browse files
committed
refactor: Fixed ClipPath
1 parent 9034a55 commit 21e93ae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/VTour.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ function updateHighlight(): void{
155155
document.querySelectorAll('.vjt-highlight').forEach((element) => element.classList.remove('vjt-highlight'));
156156
if(!props.highlight && !_CurrentStep.getCurrentStep.highlight) return;
157157
(document.querySelector(`${_CurrentStep.getCurrentStep.target}`) as HTMLElement).classList.add('vjt-highlight');
158+
getClipPath.value = getClipPathValues('.vjt-highlight');
158159
}
159160
160161
function updateBackdrop(): void{

0 commit comments

Comments
 (0)