Skip to content

Commit

Permalink
Change cog to chevron
Browse files Browse the repository at this point in the history
  • Loading branch information
gotdairyya committed Feb 10, 2022
1 parent 7d4a2a6 commit fe0b541
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/EdgeSlicing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default defineComponent({
name: 'EdgeSlicing',
setup() {
const showOptions = ref(false);
const showMenu = ref(false);
const sliceRules = (value: string) => !Number.isNaN(parseFloat(value)) || 'Please type a number';
const calMenu = ref([false, false]);
const dateFormatted: Ref<string[]> = ref([]);
Expand Down Expand Up @@ -196,7 +196,7 @@ export default defineComponent({
}
return {
showOptions,
showMenu,
sliceRules,
startEdgeVar,
endEdgeVar,
Expand Down Expand Up @@ -226,17 +226,17 @@ export default defineComponent({
:height="48"
depressed
tile
:class="showOptions? `grey darken-2 pa-0` : `grey darken-3 pa-0`"
@click="showOptions = !showOptions"
class="grey darken-3 pa-0"
@click="showMenu = !showMenu"
>
<v-icon color="white">
mdi-cog
{{ showMenu ? 'mdi-chevron-up' : 'mdi-chevron-down' }}
</v-icon>
</v-btn>
</v-subheader>

<v-card
v-if="showOptions"
v-if="showMenu"
flat
color="white"
class="pb-4 pt-2"
Expand Down

0 comments on commit fe0b541

Please sign in to comment.