diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js index f40ed9a..14b1811 100644 --- a/js/ui/tool/dream.js +++ b/js/ui/tool/dream.js @@ -515,6 +515,10 @@ const _generate = async (endpoint, request, bb, options = {}) => { ctx.drawImage(keepUnmaskCanvas, 0, 0); } + if (localStorage.getItem("openoutpaint/settings.autolayer") == "true") { + commands.runCommand("addLayer", "Added Layer", {}); + } + commands.runCommand("drawImage", "Image Dream", { x: bb.x, y: bb.y, diff --git a/pages/configuration.html b/pages/configuration.html index a7fcd42..ca71372 100644 --- a/pages/configuration.html +++ b/pages/configuration.html @@ -90,6 +90,10 @@ Lie to HRfix: +