We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a685ddd commit d9f87ceCopy full SHA for d9f87ce
1 file changed
src/settings/Settings.ts
@@ -128,6 +128,18 @@ export class Settings extends EventTarget<SettingsEventMap> {
128
129
}
130
131
+ toJSON(): Record<string, unknown> {
132
+
133
+ return {
134
+ general: this.general,
135
+ input: this.input,
136
+ rotation: this.rotation,
137
+ translation: this.translation,
138
+ dolly: this.dolly
139
+ };
140
141
+ }
142
143
/**
144
* Exports these settings as a data blob.
145
*
@@ -142,16 +154,4 @@ export class Settings extends EventTarget<SettingsEventMap> {
154
155
156
- toJSON(): Record<string, unknown> {
146
-
147
- return {
148
- general: this.general,
149
- input: this.input,
150
- rotation: this.rotation,
151
- translation: this.translation,
152
- dolly: this.dolly
153
- };
- }
157
0 commit comments