aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dw-hdfsee.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index 8a39d966..d0b23bbe 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -224,14 +224,6 @@ static int draw_stuff(cairo_surface_t *surf, DisplayWindow *dw)
}
- if ( (dw->show_col_scale) && (dw->col_scale != NULL) ) {
- cairo_identity_matrix(cr);
- cairo_translate(cr, dw->width, 0.0);
- cairo_rectangle(cr, 0.0, 0.0, 20.0, dw->height);
- gdk_cairo_set_source_pixbuf(cr, dw->col_scale, 0.0, 0.0);
- cairo_fill(cr);
- }
-
if ( dw->show_rings ) {
/* Mark the beam */
@@ -251,6 +243,14 @@ static int draw_stuff(cairo_surface_t *surf, DisplayWindow *dw)
}
+ if ( (dw->show_col_scale) && (dw->col_scale != NULL) ) {
+ cairo_identity_matrix(cr);
+ cairo_translate(cr, dw->width, 0.0);
+ cairo_rectangle(cr, 0.0, 0.0, 20.0, dw->height);
+ gdk_cairo_set_source_pixbuf(cr, dw->col_scale, 0.0, 0.0);
+ cairo_fill(cr);
+ }
+
if ( dw->image->features == NULL ) {
cairo_destroy(cr);
return 0;