Skip to content

Commit

Permalink
fixed plaxground
Browse files Browse the repository at this point in the history
  • Loading branch information
ElyaConrad committed Apr 14, 2024
1 parent b1dfb4d commit e8f6e69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playground/src/components/Playground.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function handleClickOnLayer(event: MouseEvent) {
alert(`clicked at ${x}, ${y}`);
}
function fit(animate: boolean) {
zoompinchRef.value?.applyTransform(1, [0.5, 0.5], [0.5, 0.5], animate);
transform.value = { x: 0, y: 0, scale: 1, rotate: 0 };
}
onMounted(() => {
setTimeout(() => fit(true));
Expand Down
2 changes: 1 addition & 1 deletion zoompinch-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zoompinch",
"private": false,
"version": "0.0.25",
"version": "0.0.26",
"type": "module",
"files": [
"package.json",
Expand Down

0 comments on commit e8f6e69

Please sign in to comment.