require 1 or more files on a drop event
This commit is contained in:
parent
ece8f1c327
commit
2703fd837c
1 changed files with 1 additions and 1 deletions
|
|
@ -1339,7 +1339,7 @@ gapp.register("kiri.init", [], (root, exports) => {
|
|||
|
||||
if (files.length === 1) {
|
||||
api.platform.load_files(files);
|
||||
} else {
|
||||
} else if (files.length > 1) {
|
||||
uc.confirm(`group ${files.length} files?`).then(yes => {
|
||||
api.platform.load_files(files, yes ? [] : undefined);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue