Skip to content

Ignore empty roles for textRect calculation

Kai Uwe Broulik requested to merge work/kbroulik/empty-role-highlight into master

Avoids a text rect taller than the area that actually contains text, as can be seen by hovering files in a folder with "additional roles" that a given file does not contain.


Before:

Screenshot_20220223_202848

Screenshot_20220223_203021

After:

Screenshot_20220223_202903

Screenshot_20220223_203030

Row height is unaffected but the highlighted area as well as area reacting to hover is now the bounds of the file

Merge request reports