limit brush scale to [0.01, 10.0]

2007-03-14  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintoptions.c: limit brush scale to [0.01, 
10.0]


svn path=/trunk/; revision=22115
This commit is contained in:
Sven Neumann
2007-03-14 08:07:21 +00:00
committed by Sven Neumann
parent 21a0bf9f7b
commit 642fd34b50
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-03-14 Sven Neumann <sven@gimp.org>
* app/paint/gimppaintoptions.c: limit brush scale to [0.01, 10.0]
2007-03-14 Sven Neumann <sven@gimp.org>
* app/base/brush-scale.c: minor cleanups, moved calculations out

View File

@ -131,7 +131,7 @@ gimp_paint_options_class_init (GimpPaintOptionsClass *klass)
GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_BRUSH_SCALE,
"brush-scale", NULL,
0.0, 10.0, DEFAULT_BRUSH_SCALE,
0.01, 10.0, DEFAULT_BRUSH_SCALE,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_INSTALL_PROP_ENUM (object_class, PROP_APPLICATION_MODE,
"application-mode", NULL,