feat(image-annotate): 1.2.8 工具栏移至画布底部悬浮(Figma 风格) + 修 canvas-wrap 可编程滚动导致画布跳位(overflow:clip) + computeFit 预留工具条高度 + 工具条上滚轮不缩放
This commit is contained in:
1 parent
a1c3a40f17
commit
e1465b9d68
8 files changed
+120
-80
No files matched your search
@@ -311,6 +311,7 @@ import { toast } from './commands.js'
|
||||
lastExport: S.lastExport ? { ...S.lastExport } : null,
|
||||
interaction: S.interaction,
|
||||
ants: !!S._antFrame,
|
||||
view: S.viewX !== null ? [Math.round(S.viewX), Math.round(S.viewY)] : null,
|
||||
pixel: (id, x, y) => {
|
||||
const l = S.layers.find(v => v.id === id)
|
||||
if (!l || !l.ctx) return null
|
||||
|
||||
Reference in new issue
Block a user