mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 20:19:13 +00:00
Prevent bug where edges where auto-added
This commit is contained in:
@@ -223,8 +223,15 @@ export default {
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
colorCurrentString() {
|
||||
this.$emit('update:color', this.colorCurrent);
|
||||
async colorCurrentString() {
|
||||
if (!this.colorComponent) {
|
||||
// If we're monitoring a specific color component, we can key off changes to that value
|
||||
await this.$nextTick();
|
||||
if (this.color + '' !== this.colorCurrentString) {
|
||||
// Still different
|
||||
this.$emit('update:color', this.colorCurrent);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
async colorComponentValue() {
|
||||
|
||||
Reference in New Issue
Block a user