mirror of
https://github.com/quorafind/Obsidian-Float-Search.git
synced 2026-07-22 07:30:25 +00:00
chore: bump version
This commit is contained in:
parent
1e8f1c672d
commit
32b64ea642
4 changed files with 6 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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") {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
Loading…
Reference in a new issue