summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-01-05 15:30:09 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-01-05 15:30:09 +0000
commit695d61abbef5af697f01e1b046e5ecc89c9aab80 (patch)
treeadc4297c6bb9e4a9b188cabe3849d4bb946cc335 /src/ui
parentRemove two path requirement, there is some really good functionality with mul... (diff)
downloadinkscape-695d61abbef5af697f01e1b046e5ecc89c9aab80.tar.gz
inkscape-695d61abbef5af697f01e1b046e5ecc89c9aab80.zip
Improve constant definitions
(bzr r14561)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/tool/node.cpp2
-rw-r--r--src/ui/tool/path-manipulator.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp
index 06e49dc7f..d70147f80 100644
--- a/src/ui/tool/node.cpp
+++ b/src/ui/tool/node.cpp
@@ -61,7 +61,7 @@ namespace Inkscape {
namespace UI {
const double NO_POWER = 0.0;
-const double DEFAULT_START_POWER = 0.333334;
+const double DEFAULT_START_POWER = 1.0/3.0;
ControlPoint::ColorSet Node::node_colors = {
{0xbfbfbf00, 0x000000ff}, // normal fill, stroke
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index fb9e2c070..01dbf13e9 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -58,7 +58,7 @@ enum PathChange {
} // anonymous namespace
const double HANDLE_CUBIC_GAP = 0.001;
const double NO_POWER = 0.0;
-const double DEFAULT_START_POWER = 0.333334;
+const double DEFAULT_START_POWER = 1.0/3.0;
/**