Commit 101de6b4 authored by Sven Neumann's avatar Sven Neumann
Browse files

Change to small to be mentioned...


--Sven
parent 81fc7ec7
Tue May 11 11:43:36 MEST 1999 Sven Neumann <sven@gimp.org>
* modules/colorsel_water.c: small change not worth a ChangeLog entry
Mon May 10 18:28:11 CEST 1999 Marc Lehmann <pcg@goof.com>
* configure.in: undo the part of patch "Tue May 4 15:51:16 PDT
......
......@@ -105,7 +105,7 @@ typedef struct {
static gdouble bucket[N_BUCKETS + 1][3];
static GtkWidget *color_preview[N_BUCKETS + 1];
static gdouble last_x, last_y, last_pressure;
static gfloat pressure_adjust = 100.0;
static gfloat pressure_adjust = 1.0;
static guint32 motion_time;
static gint button_state;
static ColorselWater *coldata;
......@@ -277,7 +277,7 @@ add_pigment (gboolean erase, gdouble x, gdouble y, gdouble much)
{
gdouble r, g, b;
much *= (gdouble)pressure_adjust / 100.0;
much *= (gdouble)pressure_adjust;
#ifdef VERBOSE
g_print ("x: %g, y: %g, much: %g\n", x, y, much);
......@@ -456,7 +456,7 @@ reset_color_callback (GtkWidget *widget, gpointer data)
static void
pressure_adjust_update (GtkAdjustment *adj, gpointer data)
{
pressure_adjust = adj->value;
pressure_adjust = adj->value / 100;
}
......
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