Improvements on GUI + API:

- Add generic key-value dialog
- Allow multiple file upload
- Add ESC and enter key handle to dialog
- Improve File application
This commit is contained in:
lxsang
2021-03-30 16:54:49 +02:00
parent f7a3373d23
commit 20840d09b0
11 changed files with 696 additions and 73 deletions

View File

@ -275,7 +275,9 @@ namespace OS {
this.bindKey("CTRL-P", () =>
this.actionEdit(`${this.name}-paste`)
);
this.bindKey("CTRL-ALT-R", ()=>{
this.view.path = this.currdir.path;
});
(this.find("btgrid") as GUI.tag.ButtonTag).onbtclick = (e) => {
this.view.view = "icon";
this.viewType.icon = true;
@ -384,6 +386,7 @@ namespace OS {
{
text: "__(Refresh)",
dataid: `${this.name}-refresh`,
shortcut: "C-A-R"
},
{
text: "__(Sidebar)",