diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-09-03 18:17:12 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-09-03 18:17:12 +0000 |
| commit | 3655f04f91408205674dcef5ab6ef1c44ac72810 (patch) | |
| tree | 3bb0b2acb1da74a8a3224acd1cd7eff8f5b40a39 /src | |
| parent | Filter effects dialog: (diff) | |
| download | inkscape-3655f04f91408205674dcef5ab6ef1c44ac72810.tar.gz inkscape-3655f04f91408205674dcef5ab6ef1c44ac72810.zip | |
reduce force of color tweaking
(bzr r3672)
Diffstat (limited to 'src')
| -rw-r--r-- | src/tweak-context.cpp | 2 | ||||
| -rw-r--r-- | src/tweak-context.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp index d457b1318..1e7379dea 100644 --- a/src/tweak-context.cpp +++ b/src/tweak-context.cpp @@ -795,7 +795,7 @@ sp_tweak_dilate (SPTweakContext *tc, NR::Point event_p, NR::Point p, NR::Point v if (radius == 0 || force == 0) { return false; } - double color_force = MIN(sqrt(force)/4.0, 1); + double color_force = MIN(sqrt(force)/20.0, 1); SPItem *item_at_point = SP_EVENT_CONTEXT(tc)->desktop->item_at_point(event_p, TRUE); Inkscape::XML::Node *tool_repr = inkscape_get_repr(INKSCAPE, "tools.tweak"); diff --git a/src/tweak-context.h b/src/tweak-context.h index 8fccaf970..268ea1fcf 100644 --- a/src/tweak-context.h +++ b/src/tweak-context.h @@ -30,7 +30,7 @@ class SPTweakContextClass; #define TC_MIN_PRESSURE 0.0 #define TC_MAX_PRESSURE 1.0 -#define TC_DEFAULT_PRESSURE 0.4 +#define TC_DEFAULT_PRESSURE 0.3 enum { TWEAK_MODE_PUSH, |
