mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-25 07:24:21 +01:00
bf59f963c1
A text kept at a fixed width was outlined, hovered and picked over its whole box. A short label such as "-XS6", aligned to the right in a box 120 wide, took the clicks meant for whatever lay in the empty part of the box, and its selection frame was six times wider than the text. The selection outline, the hover outline and the click area (shape() and contains()) are now the lines actually written, placed as the text is aligned. While editing, the whole box still takes the clicks; a text with nothing written keeps its box, so it can still be picked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>