Fix zoom performance issues (for real this time)

This commit is contained in:
Peaceultime 2025-04-19 14:25:22 +02:00
parent 403a65158a
commit 7beeed8a61
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ function updateTransform()
</script>
<template>
<div ref="canvasRef" class="absolute top-0 left-0 overflow-hidden w-full h-full touch-none" :style="{ '--zoom-multiplier': (1 / Math.pow(zoom, 0.7)) }">
<div ref="canvasRef" class="absolute top-0 left-0 overflow-hidden w-full h-full touch-none">
<div class="flex flex-col absolute sm:top-2 top-10 left-2 z-[35] overflow-hidden gap-4">
<div class="border border-light-35 dark:border-dark-35 bg-light-10 dark:bg-dark-10">
<Tooltip message="Zoom avant" side="right">