This commit is contained in:
syuilo
2020-09-19 14:35:07 +09:00
parent 3575b1ecd8
commit da3c183a76
4 changed files with 9 additions and 6 deletions

View File

@@ -58,14 +58,11 @@ export default defineComponent({
},
preview(ev) {
const picker = os.modal(MkReactionPicker, {
os.modal(MkReactionPicker, {
source: ev.currentTarget || ev.target,
reactions: this.splited,
showFocus: false,
});
picker.$once('chosen', reaction => {
picker.close();
});
},
setDefault() {