diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-12-05 19:57:37 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-12-05 19:57:37 +0000 |
| commit | cd0dcf4bbfce15c27b5bc4db6aadcf0cc633dd78 (patch) | |
| tree | d62314ee82433918c019fecffc7e4e3bfc7e4777 /src/pencil-context.cpp | |
| parent | NR -> 2Geom, more h and cpp files (diff) | |
| download | inkscape-cd0dcf4bbfce15c27b5bc4db6aadcf0cc633dd78.tar.gz inkscape-cd0dcf4bbfce15c27b5bc4db6aadcf0cc633dd78.zip | |
NR::LInfty => Geom::
(bzr r6953)
Diffstat (limited to 'src/pencil-context.cpp')
| -rw-r--r-- | src/pencil-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index 69d9a5e23..88fa3a2d4 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -318,7 +318,7 @@ pencil_handle_motion_notify(SPPencilContext *const pc, GdkEventMotion const &mev if (pencil_within_tolerance) { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); gint const tolerance = prefs->getIntLimited("/options/dragtolerance/value", 0, 0, 100); - if ( NR::LInfty( Geom::Point(mevent.x,mevent.y) - pencil_drag_origin_w ) < tolerance ) { + if ( Geom::LInfty( Geom::Point(mevent.x,mevent.y) - pencil_drag_origin_w ) < tolerance ) { return FALSE; // Do not drag if we're within tolerance from origin. } } |
