src/ssd: Use LAB_SSD_PART_CORNER_x for rounded corner backgrounds

This matches the behavior of the surrounding borders and will usually
cause resizing instead of triggering the button itself. This effect
is only really visible when using a border width settings of > 1.

Fixes #379
This commit is contained in:
Consolatis 2022-06-08 14:37:30 +02:00
parent 9c37101ec0
commit c6dc7e31ee
6 changed files with 74 additions and 65 deletions

View file

@ -16,6 +16,7 @@ enum node_descriptor_type {
LAB_NODE_DESC_LAYER_POPUP,
LAB_NODE_DESC_MENUITEM,
LAB_NODE_DESC_TREE,
LAB_NODE_DESC_SSD_BUTTON,
};
struct node_descriptor {