disable canvas zooming by default

This commit is contained in:
tibbi 2018-08-26 22:05:03 +02:00
parent 27aab522a5
commit 9d668b5e5a

View file

@ -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()
}