mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-08 13:04:13 +02:00
3c67147824
In the element editor, a dynamic text field that is the only selected item gets the corner handles of TextResizeHandles: dragging one sets the width the field wraps to, keeping the opposite corner in place; double-clicking a handle goes back to the automatic width. One undo step per drag, on the editor's undo stack. ElementScene keeps the handles of the same text when the undo stack changes: pushing the resize itself calls managePrimitivesGroups() again, and deleting the handles there would delete them while they are still emitting. No file format change (text_width on <dynamic_text> already exists). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>