fix(CodePad,vfx,Antedit): use new Task API and setting API
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good

This commit is contained in:
2023-06-20 17:43:31 +02:00
parent 4c86a315dd
commit b3ea32f4bc
34 changed files with 34 additions and 42 deletions

View File

@ -3,5 +3,6 @@ A simple yet powerful code/text editor.
CodePad is a text editor based on the ACE editor.
## Change logs
- v0.1.7-a: fix setting bug using new AntOS setting API
- v0.1.6-a: adapt to new AntOS v2.0.x
- v0.1.5-a: CodePad moved out of AntOS based system as regular AntOS package

View File

@ -3,5 +3,6 @@ A simple yet powerful code/text editor.
CodePad is a text editor based on the ACE editor.
## Change logs
- v0.1.7-a: fix setting bug using new AntOS setting API
- v0.1.6-a: adapt to new AntOS v2.0.x
- v0.1.5-a: CodePad moved out of AntOS based system as regular AntOS package

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
"email": "xsang.le@gmail.com",
"licences": "GPLv3"
},
"version":"0.1.6-b",
"version":"0.1.7-b",
"category":"Development",
"iconclass":"fa fa-pencil-square-o",
"dependencies": ["ACECore@1.4.12-r"],

Binary file not shown.

View File

@ -8,7 +8,7 @@
"email": "xsang.le@gmail.com",
"licences": "GPLv3"
},
"version":"0.1.6-b",
"version":"0.1.7-b",
"category":"Development",
"iconclass":"fa fa-pencil-square-o",
"dependencies": ["ACECore@1.4.12-r"],

View File

@ -364,7 +364,7 @@ namespace OS {
}
this.toggleSideBar();
this.toggleSplitMode();
this.applyAllSetting();
//this.applyAllSetting();
}
/**
@ -390,7 +390,7 @@ namespace OS {
this.sdk = new (API as any).AntOSDKBuilder(this.logger,"");
}
this.logger.clear();
this.showBottomBar(true);
this.setting.showBottomBar = true;
// check for meta file
const meta_file = `${this.currdir.path}/build.json`.asFileHandle();
const meta = await meta_file.read("json");
@ -454,7 +454,7 @@ namespace OS {
showOutput(toggle: boolean = false): void {
if (toggle)
this.showBottomBar(true);
this.setting.showBottomBar = true;
this.bottombar.selectedIndex = 0;
}
@ -479,7 +479,6 @@ namespace OS {
* @memberof CodePad
*/
public showBottomBar(v: boolean): void {
this.setting.showBottomBar = v;
if (v) {
$(this.bottombar).show();
}
@ -495,7 +494,7 @@ namespace OS {
* @memberof CodePad
*/
private toggleBottomBar(): void {
this.showBottomBar(!this.setting.showBottomBar);
this.setting.showBottomBar = !this.setting.showBottomBar;
}
private toggleSplitMode(): void {