[gtk+/gtk-3-18] Fix corner manipulation when growing rounded rects
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-18] Fix corner manipulation when growing rounded rects
- Date: Thu, 28 Jan 2016 03:30:08 +0000 (UTC)
commit d4032f80ce5ef58039e1f0d099ce38cab1763906
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 11 22:48:35 2016 -0500
Fix corner manipulation when growing rounded rects
This addresses problems with uneven border radius',
pointed out by Lapo.
gtk/gtkroundedbox.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkroundedbox.c b/gtk/gtkroundedbox.c
index 3d2befe..2f6c3c9 100644
--- a/gtk/gtkroundedbox.c
+++ b/gtk/gtkroundedbox.c
@@ -191,8 +191,8 @@ _gtk_rounded_box_grow (GtkRoundedBox *box,
}
gtk_css_border_radius_grow (&box->corner[GTK_CSS_TOP_LEFT], left, top);
- gtk_css_border_radius_grow (&box->corner[GTK_CSS_TOP_RIGHT], right, bottom);
- gtk_css_border_radius_grow (&box->corner[GTK_CSS_BOTTOM_RIGHT], right, top);
+ gtk_css_border_radius_grow (&box->corner[GTK_CSS_TOP_RIGHT], right, top);
+ gtk_css_border_radius_grow (&box->corner[GTK_CSS_BOTTOM_RIGHT], right, bottom);
gtk_css_border_radius_grow (&box->corner[GTK_CSS_BOTTOM_LEFT], left, bottom);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]