1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Zoom factor is saved to private setting

https://github.com/laurent22/joplin/pull/2165#issuecomment-565258704
This commit is contained in:
Elizabeth Schafer
2019-12-15 10:33:23 -05:00
parent 34a1b2dc3e
commit 069444fd02
2 changed files with 24 additions and 1 deletions

View File

@@ -513,6 +513,16 @@ class Setting extends BaseModel {
'camera.type': { value: 0, type: Setting.TYPE_INT, public: false, appTypes: ['mobile'] },
'camera.ratio': { value: '4:3', type: Setting.TYPE_STRING, public: false, appTypes: ['mobile'] },
windowContentZoomFactor: {
value: 100,
type: Setting.TYPE_INT,
public: false,
appTypes: ['desktop'],
minimum: 30,
maximum: 300,
step: 10,
},
};
return this.metadata_;