Change to small to be mentioned...

--Sven
This commit is contained in:
Sven Neumann 1999-05-11 09:46:15 +00:00
parent 81fc7ec7fa
commit 101de6b47b
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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;
}