Browse Source
Improve text hittesting in schematics.
Improve text hittesting in schematics.
Text has a fairly big bounding box to account for descenders, overbars, etc., but it makes it feel too sloppy for hittesting. This change allows selection disambiguation to look at the actual strokes of the text when deciding what's "closest". Fixes https://gitlab.com/kicad/code/kicad/issues/95066.0.7
6 changed files with 86 additions and 22 deletions
-
16common/eda_text.cpp
-
40eeschema/sch_field.cpp
-
8eeschema/sch_field.h
-
2eeschema/sch_symbol.cpp
-
37eeschema/tools/ee_selection_tool.cpp
-
5include/eda_text.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue