This commit is contained in:
Devon22 2025-03-24 01:31:27 +08:00
parent a0b1b2d792
commit 36ef0bf990
6 changed files with 12 additions and 6 deletions

View file

@ -1,7 +1,7 @@
{
"id": "gridexplorer",
"name": "GridExplorer",
"version": "1.9.1",
"version": "1.9.2",
"minAppVersion": "1.1.0",
"description": "Browse note files in a grid view.",
"author": "Devon22",

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "gridexplorer",
"version": "1.9.1",
"version": "1.9.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "gridexplorer",
"version": "1.9.1",
"version": "1.9.2",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.11.6",

View file

@ -1,6 +1,6 @@
{
"name": "gridexplorer",
"version": "1.9.1",
"version": "1.9.2",
"description": "Browse note files in a grid view.",
"main": "main.js",
"scripts": {

View file

@ -1319,7 +1319,8 @@ export class GridView extends ItemView {
sourcePath: this.sourcePath,
sortType: this.sortType,
searchQuery: this.searchQuery,
searchAllFiles: this.searchAllFiles
searchAllFiles: this.searchAllFiles,
randomNoteIncludeMedia: this.randomNoteIncludeMedia
}
};
}
@ -1332,6 +1333,7 @@ export class GridView extends ItemView {
this.sortType = state.state.sortType || 'mtime-desc';
this.searchQuery = state.state.searchQuery || '';
this.searchAllFiles = state.state.searchAllFiles ?? true;
this.randomNoteIncludeMedia = state.state.randomNoteIncludeMedia ?? this.plugin.settings.showMediaFiles;
this.render();
}
}

View file

@ -595,6 +595,10 @@
max-height: 100vh;
}
.ge-media-container video {
margin: 0 auto;
}
.ge-media-close-button {
position: fixed;
top: 15px;

View file

@ -1,3 +1,3 @@
{
"1.9.1": "1.1.0"
"1.9.2": "1.1.0"
}