fix: linked-doc and figma scale issue (#12493)

Fixes [BS-2993](https://linear.app/affine-design/issue/BS-2993/)
This commit is contained in:
doouding
2025-05-26 05:03:10 +00:00
parent 3d0dc64516
commit 6518c5904e
6 changed files with 0 additions and 18 deletions

View File

@@ -50,12 +50,6 @@ export class EmbedBlockComponent<
_cardStyle: EmbedCardStyle = 'horizontal';
/**
* The actual rendered scale of the embed card.
* By default, it is set to 1.
*/
protected _scale = 1;
blockDraggable = true;
/**

View File

@@ -68,7 +68,6 @@ export function toEdgelessEmbedBlock<
this.blockContainerStyles = {
width: `${bound.w}px`,
};
this._scale = bound.w / this._cardWidth;
return this.renderPageContent();
}