Commit 4eaebb0e authored by Jonathan Neuhauser's avatar Jonathan Neuhauser Committed by Jonathan Neuhauser

remove zoom correction unit dependence


(cherry picked from commit 5a033af7)
parent 6e3e5246
Pipeline #143883120 passed with stages
in 87 minutes and 41 seconds
......@@ -1962,10 +1962,7 @@ void ZoomVerb::perform(SPAction *action, void *data)
prefs->getDoubleLimited( "/options/rotateincrement/value", 15, 1, 90, "°" );
rotate_inc *= M_PI/180.0;
double zcorr = 1.0;
Glib::ustring abbr = prefs->getString("/options/zoomcorrection/unit");
if (dt->namedview->display_units && (dt->namedview->display_units->abbr == abbr))
zcorr = prefs->getDouble("/options/zoomcorrection/value", 1.0);
double zcorr = prefs->getDouble("/options/zoomcorrection/value", 1.0);
//Geom::Rect const d = dt->get_display_area();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment