11<template >
22 <v-container >
3- <v-row no-gutters align =" center" class =" mb-4 ml-1 " >
3+ <v-row no-gutters align =" center" justify = " center " class =" mb-4" >
44 <v-item-group
55 v-model =" mode"
66 mandatory
77 selected-class =" selected"
8- class =" d-flex align-center justify-space-between w-100 "
8+ class =" d-flex align-center justify-center "
99 >
1010 <v-item
1111 :value =" PaintMode.CirclePaint"
1515 variant =" tonal"
1616 rounded =" 8"
1717 stacked
18- :class =" ['mode-button', selectedClass]"
18+ :class =" ['mode-button', 'mx-2', selectedClass]"
1919 @click.stop =" toggle"
2020 >
2121 <v-icon >mdi-brush</v-icon >
2727 variant =" tonal"
2828 rounded =" 8"
2929 stacked
30- :class =" ['mode-button', selectedClass]"
30+ :class =" ['mode-button', 'mx-2', selectedClass]"
3131 @click.stop =" toggle"
3232 >
3333 <v-icon >mdi-eraser</v-icon >
3434 <span class =" text-caption" >Eraser</span >
3535 </v-btn >
3636 </v-item >
37- <v-item
38- :value =" PaintMode.FillBetween"
39- v-slot =" { selectedClass, toggle }"
40- >
37+ <v-item :value =" PaintMode.Process" v-slot =" { selectedClass, toggle }" >
4138 <v-btn
4239 variant =" tonal"
4340 rounded =" 8"
4441 stacked
45- :class =" ['mode-button', selectedClass]"
42+ :class =" ['mode-button', 'mx-2', selectedClass]"
4643 @click.stop =" toggle"
4744 >
48- <v-icon >mdi-layers-triple </v-icon >
49- <span class =" text-caption" >Fill Between </span >
45+ <v-icon >mdi-cogs </v-icon >
46+ <span class =" text-caption" >Process </span >
5047 </v-btn >
5148 </v-item >
5249 </v-item-group >
119116 </v-range-slider >
120117 </v-row >
121118 </template >
122- <template v-if =" mode === PaintMode .FillBetween " >
119+ <template v-if =" mode === PaintMode .Process " >
123120 <v-row no-gutters align =" center" >
124- <FillBetweenControls />
121+ <ProcessControls />
125122 </v-row >
126123 </template >
127124 </v-container >
@@ -132,7 +129,7 @@ import { computed } from 'vue';
132129import { storeToRefs } from ' pinia' ;
133130import { PaintMode } from ' @/src/core/tools/paint' ;
134131import { usePaintToolStore } from ' @/src/store/tools/paint' ;
135- import FillBetweenControls from ' @/src/components/FillBetweenControls .vue' ;
132+ import ProcessControls from ' @/src/components/ProcessControls .vue' ;
136133import { useCurrentImage } from ' @/src/composables/useCurrentImage' ;
137134import { useImageStatsStore } from ' @/src/store/image-stats' ;
138135
0 commit comments