mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-25 14:25:44 -03:00
Update Canvas.js
This commit is contained in:
@@ -726,7 +726,7 @@ export class Canvas {
|
|||||||
}
|
}
|
||||||
ctx.restore();
|
ctx.restore();
|
||||||
});
|
});
|
||||||
if (this.isResizingCanvas && this.canvasResizeRect) {
|
if (this.interaction.mode === 'resizingCanvas' && this.canvasResizeRect) {
|
||||||
const rect = this.canvasResizeRect;
|
const rect = this.canvasResizeRect;
|
||||||
ctx.save();
|
ctx.save();
|
||||||
ctx.strokeStyle = 'rgba(0, 255, 0, 0.8)';
|
ctx.strokeStyle = 'rgba(0, 255, 0, 0.8)';
|
||||||
|
|||||||
Reference in New Issue
Block a user