diff options
-rw-r--r-- | roi.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -201,11 +201,12 @@ draw_rubberband(struct roi *roi, GtkWidget *widget, cairo_t *cr) context = gtk_widget_get_style_context(widget); gtk_style_context_save(context); - gtk_style_context_add_class(context, GTK_STYLE_CLASS_RUBBERBAND); + gtk_style_context_add_class(context, GTK_STYLE_CLASS_RUBBERBAND); calc_rubberband_rect(roi, &x, &y, &width, &height); gtk_render_background(context, cr, x, y, width, height); gtk_render_frame(context, cr, x, y, width, height); + gtk_style_context_restore(context); } |