mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
refactor(editor): rename model.doc to store (#12172)
This commit is contained in:
@@ -68,7 +68,7 @@ export function drawGeneralShape(
|
||||
const { blur, offsetX, offsetY, color } = shapeModel.shadow;
|
||||
const scale = ctx.getTransform().a;
|
||||
|
||||
const enableShadowBlur = shapeModel.surface.doc
|
||||
const enableShadowBlur = shapeModel.surface.store
|
||||
.get(FeatureFlagService)
|
||||
.getFlag('enable_shape_shadow_blur');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user