From: johanengelen Date: Sun, 23 Dec 2007 22:42:29 +0000 (+0000) Subject: fix relative angle change in guideline dialog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c152a07f52cdb6f8023ca3624538fe92917394ee;p=inkscape.git fix relative angle change in guideline dialog --- diff --git a/src/dialogs/guidelinedialog.cpp b/src/dialogs/guidelinedialog.cpp index b2c867e1e..dc52187f8 100644 --- a/src/dialogs/guidelinedialog.cpp +++ b/src/dialogs/guidelinedialog.cpp @@ -72,7 +72,9 @@ void GuidelinePropertiesDialog::_modeChanged() void GuidelinePropertiesDialog::_onApply() { - double const deg_angle = _spin_angle.get_value(); + double deg_angle = _spin_angle.get_value(); + if (!_mode) + deg_angle += _oldangle; Geom::Point normal; if ( deg_angle == 90. || deg_angle == 270. || deg_angle == -90. || deg_angle == -270.) { normal = Geom::Point(1.,0.);