From 9d668b5e5ab63f0babdf4538aefe9adb921497a0 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 26 Aug 2018 22:05:03 +0200 Subject: [PATCH] disable canvas zooming by default --- .../main/kotlin/com/simplemobiletools/draw/helpers/Config.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/draw/helpers/Config.kt b/app/src/main/kotlin/com/simplemobiletools/draw/helpers/Config.kt index 269369e..116f7b7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/draw/helpers/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/draw/helpers/Config.kt @@ -31,6 +31,6 @@ class Config(context: Context) : BaseConfig(context) { set(lastSaveFolder) = prefs.edit().putString(LAST_SAVE_FOLDER, lastSaveFolder).apply() var allowZoomingCanvas: Boolean - get() = prefs.getBoolean(ALLOW_ZOOMING_CANVAS, true) + get() = prefs.getBoolean(ALLOW_ZOOMING_CANVAS, false) set(allowZoomingCanvas) = prefs.edit().putBoolean(ALLOW_ZOOMING_CANVAS, allowZoomingCanvas).apply() }