summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e886270)
raw | patch | inline | side by side (parent: e886270)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 3 Sep 2007 18:17:12 +0000 (18:17 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 3 Sep 2007 18:17:12 +0000 (18:17 +0000) |
src/tweak-context.cpp | patch | blob | history | |
src/tweak-context.h | patch | blob | history |
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp
index d457b1318e27d17946bb69a29ec0b35b762cecec..1e7379dea2e68097d5c35345c8e5adc3ad78eb13 100644 (file)
--- 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 8fccaf97000ed9faf6e3a68b3c584658dda63770..268ea1fcf766e31bfabafef2673d6e7296030ab7 100644 (file)
--- a/src/tweak-context.h
+++ b/src/tweak-context.h
#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,