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.
|
||||
*/
|
||||
function downloadCanvas(options = {}) {
|
||||
console.debug(imageCollection);
|
||||
defaultOpt(options, {
|
||||
cropToContent: true,
|
||||
canvas: uil.getVisible({
|
||||
|
|
|
@ -368,7 +368,6 @@ const dream_generate_callback = async (evn, state) => {
|
|||
|
||||
// Get visible pixels
|
||||
const visibleCanvas = uil.getVisible(bb);
|
||||
console.debug(visibleCanvas);
|
||||
|
||||
// Use txt2img if canvas is blank
|
||||
if (isCanvasBlank(0, 0, bb.w, bb.h, visibleCanvas)) {
|
||||
|
|
|
@ -17,7 +17,7 @@ const setMask = (state) => {
|
|||
canvas.classList.remove("display", "hold", "clear");
|
||||
break;
|
||||
default:
|
||||
console.debug(`Invalid mask type: ${state}`);
|
||||
console.debug(`[maskbrush.setMask] Invalid mask type: ${state}`);
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -271,7 +271,6 @@ const selectTransformTool = () =>
|
|||
|
||||
// Draw selection box
|
||||
uiCtx.strokeStyle = "#FFF";
|
||||
console.debug(bbvp);
|
||||
uiCtx.setLineDash([4, 2]);
|
||||
uiCtx.strokeRect(bbvp.x, bbvp.y, bbvp.w, bbvp.h);
|
||||
uiCtx.setLineDash([]);
|
||||
|
|
Loading…
Reference in a new issue