mirror of
https://github.com/ae-utbm/sith.git
synced 2025-06-24 04:05:18 +00:00
Remove useless closures
This commit is contained in:
parent
7d454749e0
commit
94bdc5e615
@ -96,24 +96,24 @@
|
||||
|
||||
<div class="zoom-control" x-ref="zoomControl" x-show="graph !== undefined">
|
||||
<button
|
||||
@click="() => graph.zoom(graph.zoom() + 1)"
|
||||
@click="graph.zoom(graph.zoom() + 1)"
|
||||
>
|
||||
<i class="fa-solid fa-magnifying-glass-plus"></i>
|
||||
</button>
|
||||
<button
|
||||
@click="() => graph.zoom(graph.zoom() - 1)"
|
||||
@click="graph.zoom(graph.zoom() - 1)"
|
||||
>
|
||||
<i class="fa-solid fa-magnifying-glass-minus"></i>
|
||||
</button>
|
||||
<button
|
||||
x-show="isZoomEnabled"
|
||||
@click="() => isZoomEnabled = false"
|
||||
@click="isZoomEnabled = false"
|
||||
>
|
||||
<i class="fa-solid fa-unlock"></i>
|
||||
</button>
|
||||
<button
|
||||
x-show="!isZoomEnabled"
|
||||
@click="() => isZoomEnabled = true"
|
||||
@click="isZoomEnabled = true"
|
||||
>
|
||||
<i class="fa-solid fa-lock"></i>
|
||||
</button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user