Changed:-

Wed Apr  7 23:53:22 BST 1999 Andy Thomas <alt@gimp.org>

	Changed:-

	* app/curves.c

	Just noticed a bug that has been around for ages. The preview
	update does not work in the curves dialog when free curve
	mode is selected. Fixed it.
This commit is contained in:
BST 1999 Andy Thomas 1999-04-07 22:58:44 +00:00 committed by Andy Thomas
parent 4bdf25daf2
commit 9a4edab746
5 changed files with 18 additions and 8 deletions

View file

@ -1,3 +1,13 @@
Wed Apr 7 23:53:22 BST 1999 Andy Thomas <alt@gimp.org>
Changed:-
* app/curves.c
Just noticed a bug that has been around for ages. The preview
update does not work in the curves dialog when free curve
mode is selected. Fixed it.
Wed Apr 7 22:44:02 BST 1999 Andy Thomas <alt@gimp.org>
Changed:-

View file

@ -1213,7 +1213,6 @@ curves_graph_events (GtkWidget *widget,
cd->points[cd->channel][cd->grab_point][0] = x;
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
curves_calculate_curve (cd);
break;
case GFREE:
@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget,
cd->last = y;
break;
}
curves_calculate_curve (cd);
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
gtk_grab_add(widget);

View file

@ -1213,7 +1213,6 @@ curves_graph_events (GtkWidget *widget,
cd->points[cd->channel][cd->grab_point][0] = x;
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
curves_calculate_curve (cd);
break;
case GFREE:
@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget,
cd->last = y;
break;
}
curves_calculate_curve (cd);
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
gtk_grab_add(widget);

View file

@ -1213,7 +1213,6 @@ curves_graph_events (GtkWidget *widget,
cd->points[cd->channel][cd->grab_point][0] = x;
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
curves_calculate_curve (cd);
break;
case GFREE:
@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget,
cd->last = y;
break;
}
curves_calculate_curve (cd);
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
gtk_grab_add(widget);

View file

@ -1213,7 +1213,6 @@ curves_graph_events (GtkWidget *widget,
cd->points[cd->channel][cd->grab_point][0] = x;
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
curves_calculate_curve (cd);
break;
case GFREE:
@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget,
cd->last = y;
break;
}
curves_calculate_curve (cd);
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
gtk_grab_add(widget);