Fix NODE_DEFAULT_SHAPE (#389)

* Fix NODE_DEFAULT_SHAPE

* update snapshot
This commit is contained in:
Chenlei Hu
2024-12-23 20:04:32 -05:00
committed by GitHub
parent c8796f8c93
commit 11ce8e0f7b
3 changed files with 3 additions and 3 deletions

View File

@@ -5145,7 +5145,7 @@ export class LGraphCanvas {
const low_quality = this.ds.scale < 0.5
const { collapsed } = node.flags
const shape = node._shape || node.constructor.shape || RenderShape.ROUND
const shape = node._shape || node.constructor.shape || LiteGraph.NODE_DEFAULT_SHAPE
const { title_mode } = node.constructor
const render_title = title_mode == TitleMode.TRANSPARENT_TITLE || title_mode == TitleMode.NO_TITLE