mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 07:14:11 +00:00
[Cleanup] Fix node background drawn twice / misc (#1040)
This commit is contained in:
@@ -128,9 +128,7 @@ export class DragAndScale {
|
||||
} else if (value > this.max_scale) {
|
||||
value = this.max_scale
|
||||
}
|
||||
|
||||
if (value == this.scale) return
|
||||
if (!this.element) return
|
||||
|
||||
const rect = this.element.getBoundingClientRect()
|
||||
if (!rect) return
|
||||
|
||||
Reference in New Issue
Block a user