full diff

com.lvl99.paintcanvas.settings

From
bafyreiclhjnrohpp75cqmh62raigy4gf25fjgo73vfklka3rgjjp3jsk2u indexed 2026-11-12 22:16 UTC View this version
To
bafyreia2myevxp7rsxi4pemkzlq7544ihvnytpsm6zu3dveicfjbnl5i44 indexed 2026-11-14 11:15 UTC View this version

Compatibility

backward compatible Backward compatible. 4 non-breaking changes.

Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "com.lvl99.paintcanvas.settings#inputSettings.penPressure" }
  • AddedVertex AddedVertex { vertex_id: "com.lvl99.paintcanvas.settings#inputSettings.penTilt" }
  • AddedEdge AddedEdge { src: "com.lvl99.paintcanvas.settings#inputSettings", tgt: "com.lvl99.paintcanvas.settings#inputSettings.penPressure", kind: "prop", name: Some("penPressure") }
  • AddedEdge AddedEdge { src: "com.lvl99.paintcanvas.settings#inputSettings", tgt: "com.lvl99.paintcanvas.settings#inputSettings.penTilt", kind: "prop", name: Some("penTilt") }

Migration guidance

Added

  • AddedVertex { vertex_id: "com.lvl99.paintcanvas.settings#inputSettings.penPressure" }
  • AddedVertex { vertex_id: "com.lvl99.paintcanvas.settings#inputSettings.penTilt" }

Notes

  • Non-breaking: AddedEdge { src: "com.lvl99.paintcanvas.settings#inputSettings", tgt: "com.lvl99.paintcanvas.settings#inputSettings.penPressure", kind: "prop", name: Some("penPressure") }
  • Non-breaking: AddedEdge { src: "com.lvl99.paintcanvas.settings#inputSettings", tgt: "com.lvl99.paintcanvas.settings#inputSettings.penTilt", kind: "prop", name: Some("penTilt") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "colours": {
55 "description": "The colours being drawn with, as \"#rrggbb\".",
66 "properties": {
77 "background": {
88 "maxLength": 7,
99 "type": "string"
1010 },
1111 "foreground": {
1212 "maxLength": 7,
1313 "type": "string"
1414 }
1515 },
1616 "required": [
1717 "foreground",
1818 "background"
1919 ],
2020 "type": "object"
2121 },
2222 "gesture": {
2323 "properties": {
2424 "action": {
2525 "description": "What it does, e.g. \"undo\".",
2626 "maxLength": 50,
2727 "type": "string"
2828 },
2929 "gesture": {
3030 "description": "The gesture, e.g. \"twoFingerTap\".",
3131 "maxLength": 50,
3232 "type": "string"
3333 }
3434 },
3535 "required": [
3636 "gesture",
3737 "action"
3838 ],
3939 "type": "object"
4040 },
4141 "inputSettings": {
4242 "description": "How the user moves around the canvas and draws.",
4343 "properties": {
4444 "focusPen": {
4545 "description": "Only a pen draws; fingers move the canvas.",
4646 "type": "boolean"
4747 },
4848 "gestures": {
4949 "description": "What each touch gesture does.",
5050 "items": {
5151 "ref": "#gesture",
5252 "type": "ref"
5353 },
5454 "maxLength": 20,
5555 "type": "array"
5656 },
5757 "modifierScrollZoom": {
5858 "description": "Scrolling with a modifier key held zooms the canvas.",
5959 "type": "boolean"
6060 },
61 "penPressure": {
62 "description": "A pen's pressure varies the brush, for every brush preset (on when not set).",
63 "type": "boolean"
64 },
65 "penTilt": {
66 "description": "A pen's tilt varies the brush, for every brush preset (off when not set).",
67 "type": "boolean"
68 },
6169 "pinchZoom": {
6270 "description": "Pinching zooms the canvas.",
6371 "type": "boolean"
6472 },
6573 "scrollPan": {
6674 "description": "Scrolling pans the canvas.",
6775 "type": "boolean"
6876 }
6977 },
7078 "type": "object"
7179 },
7280 "main": {
7381 "description": "A user's PaintCanvas app settings. Settings that aren't set use PaintCanvas's defaults.",
7482 "key": "literal:self",
7583 "record": {
7684 "properties": {
7785 "colours": {
7886 "ref": "#colours",
7987 "type": "ref"
8088 },
8189 "input": {
8290 "ref": "#inputSettings",
8391 "type": "ref"
8492 },
8593 "shortcuts": {
8694 "description": "Keyboard shortcuts the user changed from PaintCanvas's defaults.",
8795 "items": {
8896 "ref": "#shortcut",
8997 "type": "ref"
9098 },
9199 "maxLength": 200,
92100 "type": "array"
93101 },
94102 "ui": {
95103 "ref": "#uiSettings",
96104 "type": "ref"
97105 },
98106 "updatedAt": {
99107 "description": "When the settings were last changed.",
100108 "format": "datetime",
101109 "type": "string"
102110 }
103111 },
104112 "type": "object"
105113 },
106114 "type": "record"
107115 },
108116 "shortcut": {
109117 "description": "A keyboard shortcut. Without a key, the action has no shortcut.",
110118 "properties": {
111119 "action": {
112120 "description": "The action, e.g. \"undo\".",
113121 "maxLength": 64,
114122 "type": "string"
115123 },
116124 "alt": {
117125 "description": "Alt (Option on macOS) is held.",
118126 "type": "boolean"
119127 },
120128 "cmd": {
121129 "description": "Command (macOS) or Control (Windows, Linux) is held.",
122130 "type": "boolean"
123131 },
124132 "ctrl": {
125133 "description": "Control is held.",
126134 "type": "boolean"
127135 },
128136 "key": {
129137 "description": "The key, e.g. \"z\".",
130138 "maxLength": 32,
131139 "type": "string"
132140 },
133141 "shift": {
134142 "description": "Shift is held.",
135143 "type": "boolean"
136144 }
137145 },
138146 "required": [
139147 "action"
140148 ],
141149 "type": "object"
142150 },
143151 "uiSettings": {
144152 "properties": {
145153 "locale": {
146154 "description": "Language of the interface.",
147155 "format": "language",
148156 "type": "string"
149157 },
150158 "rendering": {
151159 "description": "Whether drawing uses the GPU.",
152160 "knownValues": [
153161 "cpu",
154162 "gpu"
155163 ],
156164 "maxLength": 20,
157165 "type": "string"
158166 },
159167 "theme": {
160168 "description": "Colour theme; \"system\" follows the device.",
161169 "knownValues": [
162170 "light",
163171 "dark",
164172 "system"
165173 ],
166174 "maxLength": 20,
167175 "type": "string"
168176 }
169177 },
170178 "type": "object"
171179 }
172180 },
173181 "description": "A user's PaintCanvas app settings. Settings that aren't set use PaintCanvas's defaults.",
174182 "id": "com.lvl99.paintcanvas.settings",
175183 "lexicon": 1
176184}

Compare other versions