mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 23:59:21 -04:00
Chore[controls]: bump up layout converter trigger
This commit is contained in:
parent
94bfdd74ff
commit
45e062e67c
@ -42,12 +42,12 @@ public class LayoutConverter {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Normalize the layout to v5 from v3/4: The stroke width is no longer dependant on the button size
|
* Normalize the layout to v6 from v3/4: The stroke width is no longer dependant on the button size
|
||||||
*/
|
*/
|
||||||
public static CustomControls convertV3_4Layout(JSONObject oldLayoutJson) {
|
public static CustomControls convertV3_4Layout(JSONObject oldLayoutJson) {
|
||||||
CustomControls layout = Tools.GLOBAL_GSON.fromJson(oldLayoutJson.toString(), CustomControls.class);
|
CustomControls layout = Tools.GLOBAL_GSON.fromJson(oldLayoutJson.toString(), CustomControls.class);
|
||||||
convertStrokeWidth(layout);
|
convertStrokeWidth(layout);
|
||||||
layout.version = 5;
|
layout.version = 6;
|
||||||
return layout;
|
return layout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user