mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-29 04:10:01 +02:00
Antedit 2.0.1: bug fix & imporvement
This commit is contained in:
@ -22,13 +22,11 @@ var OS;
|
||||
});
|
||||
graph.on_open_diff = (files) => {
|
||||
console.log(files);
|
||||
OS.PM.processes.Antedit[0].openDiff(files);
|
||||
/*
|
||||
//(OS.PM.processes.Antedit[0] as any).openDiff(files)
|
||||
this._gui.launch("Antedit", [])
|
||||
.then((p) =>{
|
||||
p.observable.one("rendered",() =>(p as any).openDiff(files));
|
||||
});
|
||||
*/
|
||||
.then((p) => {
|
||||
p.observable.one("launched", () => p.openDiff(files));
|
||||
});
|
||||
};
|
||||
graph.base_dir = "home://workspace/antos/".asFileHandle();
|
||||
}
|
||||
|
Reference in New Issue
Block a user