Adding image modifier events to core plugins

Sorry, forgot these in the first PR.
This commit is contained in:
patriceac 2022-12-27 02:58:46 -08:00
parent 48a3254ad2
commit 2c7d5adb80
3 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,7 @@
// update activeTags
const tag = activeTags.splice(currentPos, 1)
activeTags.splice(droppedPos, 0, tag[0])
document.dispatchEvent(new Event('refreshImageModifiers'))
}
}
};

View File

@ -58,6 +58,7 @@
break
}
}
document.dispatchEvent(new Event('refreshImageModifiers'))
}
}
})

View File

@ -46,7 +46,7 @@
return obj;
});
console.log(activeTags)
document.dispatchEvent(new Event('refreshImageModifiers'))
}
})
}