mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-21 20:52:12 -03:00
Refactor codebase for consistent formatting and style
This commit applies consistent code formatting across multiple files, including spacing, indentation, and object destructuring. No functional changes were made; the update improves code readability and maintainability.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {createModuleLogger} from "./utils/LoggerUtils.js";
|
||||
import {snapToGrid, getSnapAdjustment} from "./utils/CommonUtils.js";
|
||||
|
||||
const log = createModuleLogger('CanvasInteractions');
|
||||
|
||||
export class CanvasInteractions {
|
||||
@@ -504,7 +505,7 @@ export class CanvasInteractions {
|
||||
});
|
||||
|
||||
this.canvas.maskTool.updatePosition(-finalX, -finalY);
|
||||
|
||||
|
||||
this.canvas.viewport.x -= finalX;
|
||||
this.canvas.viewport.y -= finalY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user