Skip to content

Commit 5705a7e

Browse files
authored
Release 1.2.2 #677
1 parent d9c7834 commit 5705a7e

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coderline/alphatab",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "alphaTab is a music notation and guitar tablature rendering library",
55
"keywords": [
66
"guitar",

src.csharp/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<PropertyGroup>
33
<DebugType>portable</DebugType>
44
<DebugSymbols>true</DebugSymbols>
5-
<Version>1.2.1</Version>
6-
<AssemblyVersion>1.2.1.0</AssemblyVersion>
5+
<Version>1.2.2</Version>
6+
<AssemblyVersion>1.2.2.0</AssemblyVersion>
77
<FileVersion>$(AssemblyVersion)</FileVersion>
88
<Authors>Danielku15</Authors>
99
<Company>CoderLine</Company>

src/Settings.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { DisplaySettings } from '@src/DisplaySettings';
33
import { ImporterSettings } from '@src/ImporterSettings';
44
import { FingeringMode, NotationMode, NotationSettings, NotationElement } from '@src/NotationSettings';
55
import { PlayerSettings } from '@src/PlayerSettings';
6+
import { SettingsSerializer } from '@src/generated/SettingsSerializer';
67

78
/**
89
* This public class contains instance specific settings for alphaTab
@@ -57,4 +58,11 @@ export class Settings {
5758
settings.setSongBookModeSettings();
5859
return settings;
5960
}
61+
62+
/**
63+
* @target web
64+
*/
65+
public fillFromJson(json: any): void {
66+
SettingsSerializer.fromJson(this, json);
67+
}
6068
}

0 commit comments

Comments
 (0)