mirror of https://github.com/doccano/doccano.git
Hironsan
2 years ago
3 changed files with 55 additions and 17 deletions
Split View
Diff Options
-
33frontend/components/tasks/toolbar/buttons/ButtonZoom.vue
-
20frontend/pages/projects/_id/object-detection/index.vue
-
19frontend/pages/projects/_id/segmentation/index.vue
@ -0,0 +1,33 @@ |
|||
<template> |
|||
<v-btn-toggle mandatory> |
|||
<v-tooltip bottom> |
|||
<template #activator="{ on }"> |
|||
<v-btn icon @click="$emit('zoom-out')" v-on="on"> |
|||
<v-icon>{{ mdiMagnifyMinusOutline }}</v-icon> |
|||
</v-btn> |
|||
</template> |
|||
<span>Zoom Out</span> |
|||
</v-tooltip> |
|||
<v-tooltip bottom> |
|||
<template #activator="{ on }" v-on="on"> |
|||
<v-btn icon @click="$emit('zoom-in')"> |
|||
<v-icon>{{ mdiMagnifyPlusOutline }}</v-icon> |
|||
</v-btn> |
|||
</template> |
|||
<span>Zoom In</span> |
|||
</v-tooltip> |
|||
</v-btn-toggle> |
|||
</template> |
|||
|
|||
<script lang="ts"> |
|||
import Vue from 'vue' |
|||
import { mdiMagnifyPlusOutline, mdiMagnifyMinusOutline } from '@mdi/js' |
|||
export default Vue.extend({ |
|||
data() { |
|||
return { |
|||
mdiMagnifyPlusOutline, |
|||
mdiMagnifyMinusOutline |
|||
} |
|||
} |
|||
}) |
|||
</script> |
Write
Preview
Loading…
Cancel
Save