mirror of
https://github.com/xuquan-nikkkki/FolderFile-Splitter-Plugin.git
synced 2026-07-22 12:00:27 +00:00
fix: make setout time longer to select text to avoid failure
This commit is contained in:
parent
dd93a99ac1
commit
4806a5ce6e
2 changed files with 2 additions and 2 deletions
|
|
@ -152,7 +152,7 @@ const File = ({ file, useFileTreeStore, plugin, deleteFile }: Props) => {
|
|||
setName(file.basename);
|
||||
setTimeout(() => {
|
||||
selectFileNameText();
|
||||
}, 50);
|
||||
}, 100);
|
||||
});
|
||||
});
|
||||
menu.addItem((item) => {
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ const Folder = ({
|
|||
setName(folderName);
|
||||
setTimeout(() => {
|
||||
selectFolderNameText();
|
||||
}, 50);
|
||||
}, 100);
|
||||
});
|
||||
});
|
||||
menu.addItem((item) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue