feat(image-annotate): 1.2.4 选择态就地改形状参数(描边/实心/线宽) + 顶栏命令带(更多菜单图标化: 新建/导入图层、置顶/上/下/置底、适应窗口、收起侧栏) + 选区命令入竖工具条
This commit is contained in:
1 parent
b83b8f3755
commit
77b4f7d5fe
8 files changed
+307
-147
No files matched your search
@@ -13,7 +13,7 @@ import { drawBitmapSelection, drawVectorToCanvas, hitBitmapAt, removeVecCanvas,
|
||||
import { drawPlacementPreview } from './placement.js'
|
||||
import { drawShape } from './tools.js'
|
||||
import { saveSnapshot, snapshotState } from './history.js'
|
||||
import { updateLayerUI } from './events.js'
|
||||
import { renderOptionBar, updateLayerUI } from './events.js'
|
||||
import { isDrawableLayer } from '../vendor/layer-logic.js'
|
||||
|
||||
|
||||
@@ -175,6 +175,8 @@ import { isDrawableLayer } from '../vendor/layer-logic.js'
|
||||
S.textDrag = null
|
||||
S.shapeDrag = null
|
||||
S.bitmapDrag = null
|
||||
// 选中态变了,选项栏要跟着换成该对象的参数(选择工具下改描边/实心/线宽/字号)
|
||||
renderOptionBar()
|
||||
}
|
||||
|
||||
/** 判定一个图层单元是否命中该点(位图用矩形/像素,矢量用包围盒/形状) */
|
||||
|
||||
Reference in new issue
Block a user