mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-26 17:08:54 +01:00
Adding image modifier events to core plugins
Sorry, forgot these in the first PR.
This commit is contained in:
parent
48a3254ad2
commit
2c7d5adb80
@ -74,6 +74,7 @@
|
|||||||
// update activeTags
|
// update activeTags
|
||||||
const tag = activeTags.splice(currentPos, 1)
|
const tag = activeTags.splice(currentPos, 1)
|
||||||
activeTags.splice(droppedPos, 0, tag[0])
|
activeTags.splice(droppedPos, 0, tag[0])
|
||||||
|
document.dispatchEvent(new Event('refreshImageModifiers'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -58,6 +58,7 @@
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
document.dispatchEvent(new Event('refreshImageModifiers'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
return obj;
|
return obj;
|
||||||
});
|
});
|
||||||
console.log(activeTags)
|
document.dispatchEvent(new Event('refreshImageModifiers'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user