#188 - Group of changes addressing compatibility issued with Obsidian 1.7.2 and newer
This commit is contained in:
parent
971bea5792
commit
92c0e0c431
|
@ -21,3 +21,5 @@ data.json
|
||||||
# Exclude macOS Finder (System Explorer) View States
|
# Exclude macOS Finder (System Explorer) View States
|
||||||
.DS_Store
|
.DS_Store
|
||||||
/yarn.lock
|
/yarn.lock
|
||||||
|
/.run/test.run.xml
|
||||||
|
/.run/build.run.xml
|
||||||
|
|
|
@ -90,7 +90,6 @@ export default class CustomSortPlugin
|
||||||
ribbonIconEl: HTMLElement // On small-screen mobile devices this is useless (ribbon is re-created on-the-fly)
|
ribbonIconEl: HTMLElement // On small-screen mobile devices this is useless (ribbon is re-created on-the-fly)
|
||||||
|
|
||||||
sortSpecCache?: SortSpecsCollection | null
|
sortSpecCache?: SortSpecsCollection | null
|
||||||
initialAutoOrManualSortingTriggered: boolean
|
|
||||||
customSortAppliedAtLeastOnce: boolean = false
|
customSortAppliedAtLeastOnce: boolean = false
|
||||||
|
|
||||||
showNotice(message: string, timeout?: number) {
|
showNotice(message: string, timeout?: number) {
|
||||||
|
@ -299,7 +298,6 @@ export default class CustomSortPlugin
|
||||||
this.readAndParseSortingSpec();
|
this.readAndParseSortingSpec();
|
||||||
if (this.sortSpecCache) {
|
if (this.sortSpecCache) {
|
||||||
if (fileExplorer) {
|
if (fileExplorer) {
|
||||||
this.initialAutoOrManualSortingTriggered = true
|
|
||||||
this.customSortAppliedAtLeastOnce = false
|
this.customSortAppliedAtLeastOnce = false
|
||||||
fileExplorer.view.requestSort();
|
fileExplorer.view.requestSort();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue