mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 18:48:13 +08:00
Implement tool messaging and shape flipping (#288)
This commit is contained in:
committed by
Keavon Chambers
parent
10a2282145
commit
97f97480a2
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<button class="icon-button" :class="`size-${String(size)}`">
|
||||
<button class="icon-button" :class="`size-${String(size)}`" @click="onClick">
|
||||
<IconLabel :icon="icon" />
|
||||
</button>
|
||||
</template>
|
||||
@@ -60,6 +60,7 @@ export default defineComponent({
|
||||
icon: { type: String, required: true },
|
||||
size: { type: Number, required: true },
|
||||
gapAfter: { type: Boolean, default: false },
|
||||
onClick: Function,
|
||||
},
|
||||
components: { IconLabel },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user