summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);