fix some console debug messages
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
parent
c5d887620d
commit
55de66a127
4 changed files with 1 additions and 4 deletions
|
@ -255,7 +255,6 @@ function cropCanvas(sourceCanvas, options = {}) {
|
||||||
* If null, opens image in new tab.
|
* If null, opens image in new tab.
|
||||||
*/
|
*/
|
||||||
function downloadCanvas(options = {}) {
|
function downloadCanvas(options = {}) {
|
||||||
console.debug(imageCollection);
|
|
||||||
defaultOpt(options, {
|
defaultOpt(options, {
|
||||||
cropToContent: true,
|
cropToContent: true,
|
||||||
canvas: uil.getVisible({
|
canvas: uil.getVisible({
|
||||||
|
|
|
@ -368,7 +368,6 @@ const dream_generate_callback = async (evn, state) => {
|
||||||
|
|
||||||
// Get visible pixels
|
// Get visible pixels
|
||||||
const visibleCanvas = uil.getVisible(bb);
|
const visibleCanvas = uil.getVisible(bb);
|
||||||
console.debug(visibleCanvas);
|
|
||||||
|
|
||||||
// Use txt2img if canvas is blank
|
// Use txt2img if canvas is blank
|
||||||
if (isCanvasBlank(0, 0, bb.w, bb.h, visibleCanvas)) {
|
if (isCanvasBlank(0, 0, bb.w, bb.h, visibleCanvas)) {
|
||||||
|
|
|
@ -17,7 +17,7 @@ const setMask = (state) => {
|
||||||
canvas.classList.remove("display", "hold", "clear");
|
canvas.classList.remove("display", "hold", "clear");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.debug(`Invalid mask type: ${state}`);
|
console.debug(`[maskbrush.setMask] Invalid mask type: ${state}`);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -271,7 +271,6 @@ const selectTransformTool = () =>
|
||||||
|
|
||||||
// Draw selection box
|
// Draw selection box
|
||||||
uiCtx.strokeStyle = "#FFF";
|
uiCtx.strokeStyle = "#FFF";
|
||||||
console.debug(bbvp);
|
|
||||||
uiCtx.setLineDash([4, 2]);
|
uiCtx.setLineDash([4, 2]);
|
||||||
uiCtx.strokeRect(bbvp.x, bbvp.y, bbvp.w, bbvp.h);
|
uiCtx.strokeRect(bbvp.x, bbvp.y, bbvp.w, bbvp.h);
|
||||||
uiCtx.setLineDash([]);
|
uiCtx.setLineDash([]);
|
||||||
|
|
Loading…
Reference in a new issue