mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 10:12:11 +00:00
[Bug] Remove unused prop LayoutElement.value (#940)
Resolves https://github.com/Comfy-Org/litegraph.js/issues/939 The prop is unused and is causing object clone circular ref issue.
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
import { Point, ReadOnlyRect } from "@/interfaces"
|
||||
|
||||
export class LayoutElement<T> {
|
||||
public readonly value: T
|
||||
export class LayoutElement {
|
||||
public readonly boundingRect: ReadOnlyRect
|
||||
|
||||
constructor(o: {
|
||||
value: T
|
||||
boundingRect: ReadOnlyRect
|
||||
}) {
|
||||
this.value = o.value
|
||||
this.boundingRect = o.boundingRect
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user