mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-27 11:19:53 +02:00
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
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good
This commit is contained in:
@ -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
|
@ -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
@ -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.
@ -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"],
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user