mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 17:28:50 +01:00
🚨
This commit is contained in:
parent
32a9a99814
commit
8c6fdd2a14
3 changed files with 2 additions and 3 deletions
|
|
@ -56,7 +56,6 @@ import {hideElements} from "../protyle/ui/hideElements";
|
|||
import {emitOpenMenu} from "../plugin/EventBus";
|
||||
import {openMobileFileById} from "../mobile/editor";
|
||||
import {openBacklink, openGraph} from "../layout/dock/util";
|
||||
import {updateHeader} from "../protyle/render/av/row";
|
||||
import {renderAssetsPreview} from "../asset/renderAssets";
|
||||
import {upDownHint} from "../util/upDownHint";
|
||||
import {hintRenderAssets} from "../protyle/hint/extend";
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ export const renderGallery = (options: {
|
|||
view.cards.forEach((item: IAVGalleryItem, rowIndex: number) => {
|
||||
galleryHTML += `<div data-id="${item.id}" draggable="true" class="av__gallery-item${selectItemIds.includes(item.id) ? " av__gallery-item--select" : ""}">`;
|
||||
if (view.coverFrom !== 0) {
|
||||
const coverClass= "av__gallery-cover av__gallery-cover--" + view.cardAspectRatio
|
||||
const coverClass= "av__gallery-cover av__gallery-cover--" + view.cardAspectRatio;
|
||||
if (item.coverURL) {
|
||||
if (item.coverURL.startsWith("background")) {
|
||||
galleryHTML += `<div class="${coverClass}"><div class="av__gallery-img${view.fitImage ? " av__gallery-img--fit" : ""}" style="${item.coverURL}"></div></div>`;
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ import {removeSearchMark} from "../toolbar/util";
|
|||
import {activeBlur} from "../../mobile/util/keyboardToolbar";
|
||||
import {commonClick} from "./commonClick";
|
||||
import {avClick, avContextmenu, updateAVName} from "../render/av/action";
|
||||
import {selectRow, stickyRow, updateHeader} from "../render/av/row";
|
||||
import {selectRow, stickyRow} from "../render/av/row";
|
||||
import {showColMenu} from "../render/av/col";
|
||||
import {openViewMenu} from "../render/av/view";
|
||||
import {checkFold} from "../../util/noRelyPCFunction";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue