mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
theme: limit corner radius to the height of the titlebar
This commit is contained in:
parent
318d881650
commit
aef5b45b5f
1 changed files with 1 additions and 1 deletions
|
|
@ -638,7 +638,7 @@ post_processing(struct theme *theme)
|
|||
+ 2 * theme->osd_window_switcher_item_active_border_width;
|
||||
|
||||
if (rc.corner_radius >= theme->title_height) {
|
||||
theme->title_height = rc.corner_radius + 1;
|
||||
rc.corner_radius = theme->title_height - 1;
|
||||
}
|
||||
|
||||
if (theme->menu_max_width < theme->menu_min_width) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue