Resolved an issue where node width expanded infinitely during window dragging across multi‑display screens with different scaling factors.This problem was caused by inaccurate width calculation of placeholder elements.The width calculation for nodes now uses an adaptive approach.

This commit is contained in:
2026-04-28 11:17:58 +08:00
parent fa4e79dc86
commit f9f10209ca
2 changed files with 102 additions and 56 deletions
+6
View File
@@ -190,6 +190,9 @@ public:
// 接口测试节点
class Connector_Test_Node : public Abs_Node
{
private:
float node_width = 0;
public:
// 显式禁用默认构造
Connector_Test_Node() = delete;
@@ -209,6 +212,9 @@ public:
// DLT信息输入类,起始点
class MSG_Input_Node : public Abs_Node
{
private:
float node_width = 0;
public:
// 显式禁用默认构造
MSG_Input_Node() = delete;