Commit 9a4edab7 authored by BST 1999 Andy Thomas's avatar BST 1999 Andy Thomas Committed by Andy Thomas

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.
parent 4bdf25da
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:-
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment