Skip to content

Commit

Permalink
Fixed multiple pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
ruelluna committed Jul 16, 2024
1 parent f29af8c commit b6a6558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/forms/components/image-pointer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function (image) {
// Update the state with the new coordinates
let currentState = state || [];
currentState = Array.isArray(currentState) ? currentState : [];
currentState.push(coordinates);
state = currentState;
}
Expand All @@ -98,7 +99,6 @@ function downloadURI(uri, name) {
} --}}
"
>
{{ $getWidth() }}
<div
x-ref="containerRef"
id="container">
Expand Down

0 comments on commit b6a6558

Please sign in to comment.