Fix: Dynamic element text shifting/jumping when duplicating diagrams

This commit is contained in:
Kellermorph
2026-06-01 11:22:52 +02:00
parent 23e8258ae1
commit e1ccc1e568
2 changed files with 25 additions and 3 deletions
+3 -2
View File
@@ -142,10 +142,11 @@ class Diagram : public QGraphicsScene
void wheelEvent (QGraphicsSceneWheelEvent *event) override;
void keyPressEvent (QKeyEvent *event) override;
void keyReleaseEvent (QKeyEvent *) override;
void correctTextPos(Element* elmt);
void restoreText(Element* elmt);
public:
void correctTextPos(Element* elmt);
void restoreText(Element* elmt);
QUuid uuid();
void setEventInterface (DiagramEventInterface *event_interface);
void clearEventInterface();