File tree Expand file tree Collapse file tree 1 file changed +22
-18
lines changed Expand file tree Collapse file tree 1 file changed +22
-18
lines changed Original file line number Diff line number Diff line change 11<template >
2- <v-row dense :class =" [$style.floatToolbar, 'flex-column']" >
3- <v-col >
4- <v-tooltip location =" left" >
5- Reset camera
6- <template #activator =" { props } " >
7- <v-btn @click.stop =reset_camera icon =" mdi-crop-free" density =" comfortable" v-bind =" props" />
8- </template >
9- </v-tooltip >
10- </v-col >
11- </v-row >
2+ <v-row dense :class =" [$style.floatToolbar, 'flex-column']" >
3+ <v-col >
4+ <v-tooltip location =" left" >
5+ Reset camera
6+ <template #activator =" { props } " >
7+ <v-btn @click.stop =reset_camera density =" comfortable" v-bind =" props" icon >
8+ <v-icon size =" 32" >
9+ mdi-cube-scan
10+ </v-icon >
11+ </v-btn >
12+ </template >
13+ </v-tooltip >
14+ </v-col >
15+ </v-row >
1216</template >
1317
1418<script setup>
1519const viewer_store = use_viewer_store ()
16- function reset_camera () {
17- viewer_store .reset_camera ()
20+ function reset_camera () {
21+ viewer_store .reset_camera ()
1822}
1923 </script >
2024
2125<style module>
2226.floatToolbar {
23- position : absolute ;
24- z-index : 2 ;
25- right : 20px ;
26- top : 20px ;
27- background-color : rgba (0 , 0 , 0 , 0.4 );
28- border-radius : 16px ;
27+ position : absolute ;
28+ z-index : 2 ;
29+ right : 20px ;
30+ top : 20px ;
31+ background-color : rgba (0 , 0 , 0 , 0.4 );
32+ border-radius : 16px ;
2933}
3034 </style >
You can’t perform that action at this time.
0 commit comments