chore: bump version

This commit is contained in:
quorafind 2024-01-23 16:47:56 +08:00
parent 1e8f1c672d
commit 32b64ea642
4 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{
"id": "float-search",
"name": "Floating Search",
"version": "3.4.7",
"version": "3.4.8",
"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.4.7",
"version": "3.4.8",
"description": "You can use search view in modal/leaf/popout window now.",
"main": "main.js",
"scripts": {

View file

@ -162,8 +162,9 @@ export default class FloatSearchPlugin extends Plugin {
const uninstaller = around(Workspace.prototype, {
getLeaf: (next) =>
function (...args) {
const activeLeaf = this.activeLeaf;
const activeLeaf = (this as Workspace).activeLeaf;
if (activeLeaf) {
// @ts-ignore
const fsCtnEl = (activeLeaf.parent.containerEl as HTMLElement).parentElement;
if (fsCtnEl?.hasClass("fs-content")) {
if (activeLeaf.view.getViewType() === "markdown") {

View file

@ -24,5 +24,6 @@
"3.4.4": "0.15.0",
"3.4.5": "0.15.0",
"3.4.6": "0.15.0",
"3.4.7": "0.15.0"
"3.4.7": "0.15.0",
"3.4.8": "0.15.0"
}