chore: bump version

This commit is contained in:
quorafind 2024-10-31 16:19:18 +08:00
parent 5832628666
commit 97ff7789b7
4 changed files with 9 additions and 6 deletions

View file

@ -1,7 +1,7 @@
{
"id": "float-search",
"name": "Floating Search",
"version": "3.5.1",
"version": "4.0.0",
"minAppVersion": "0.15.0",
"description": "You can use search view in modal/leaf/popout window now.",
"author": "Boninall",

View file

@ -1,6 +1,6 @@
{
"name": "float-search",
"version": "3.5.1",
"version": "4.0.0",
"description": "You can use search view in modal/leaf/popout window now.",
"main": "main.js",
"scripts": {

View file

@ -810,9 +810,11 @@ export default class FloatSearchPlugin extends Plugin {
around(manager.constructor.prototype, {
dragFile(old: any) {
return function (e: any, a: TFile) {
self?.modal?.close();
const result = old.call(this, e, a);
setTimeout(() => {
self?.modal?.close();
}, 10);
return result;
};
},

View file

@ -29,5 +29,6 @@
"3.4.9": "0.15.0",
"3.4.10": "0.15.0",
"3.5.0": "0.15.0",
"3.5.1": "0.15.0"
"3.5.1": "0.15.0",
"4.0.0": "0.15.0"
}