summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-09-12 18:36:39 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-09-12 18:37:17 +0000
commit84bec2d6dcb2d80abe89d0f55aad8281be1f75e1 (patch)
treefe296d03b3c5b84b97a3abf96851b9e27bfae8fd /src
parentfix object-set-test crash (diff)
downloadinkscape-84bec2d6dcb2d80abe89d0f55aad8281be1f75e1.tar.gz
inkscape-84bec2d6dcb2d80abe89d0f55aad8281be1f75e1.zip
make /options/yaxisdown true the default
Diffstat (limited to 'src')
-rw-r--r--src/desktop.cpp4
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index bec4bd68f..b4051f66d 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -255,7 +255,7 @@ SPDesktop::init (SPNamedView *nv, SPCanvas *aCanvas, Inkscape::UI::View::EditWid
/* Connect event for page resize */
- if (!prefs->getBool("/options/yaxisdown", false)) {
+ if (!prefs->getBool("/options/yaxisdown", true)) {
_doc2dt[3] = -1;
_doc2dt[5] = document->getHeight().value("px");
}
@@ -1683,7 +1683,7 @@ SPDesktop::onDocumentURISet (gchar const* uri)
void
SPDesktop::onDocumentResized (gdouble width, gdouble height)
{
- if (!Inkscape::Preferences::get()->getBool("/options/yaxisdown", false)) {
+ if (!Inkscape::Preferences::get()->getBool("/options/yaxisdown", true)) {
_doc2dt[5] = height;
}
sp_canvas_item_affine_absolute (SP_CANVAS_ITEM (drawing), _doc2dt);
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index bb15d771d..f67f3680a 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -771,7 +771,7 @@ void InkscapePreferences::initPageUI()
_("Selects whether the dockbar switcher will show text labels, icons, or both"), false);
}
- _ui_yaxisdown.init( _("Origin at upper left with y-axis pointing down (requires restart)"), "/options/yaxisdown", false);
+ _ui_yaxisdown.init( _("Origin at upper left with y-axis pointing down (requires restart)"), "/options/yaxisdown", true);
_page_ui.add_line( false, "", _ui_yaxisdown, "",
_("When off, origin is at lower left corner and y-axis points up"), true);