mirror of
https://github.com/VisActor/VTable
synced 2024-11-22 01:52:03 +00:00
feat: drag order line use theme dragHeaderSplitLine style
This commit is contained in:
parent
abde088db4
commit
a25ed8f160
@ -26,13 +26,13 @@ export class DragOrderLine {
|
||||
this.initDragLine();
|
||||
}
|
||||
initDragLine() {
|
||||
const style = this._scene._gantt.parsedOptions.grid.horizontalLine;
|
||||
const style = this._scene._gantt.taskListTableInstance.theme.dragHeaderSplitLine;
|
||||
// 创建拖拽位置高亮线条
|
||||
const lineObj = createLine({
|
||||
pickable: false,
|
||||
stroke: 'blue',
|
||||
lineWidth: 2,
|
||||
lineDash: style.lineDash,
|
||||
stroke: style.lineColor,
|
||||
lineWidth: style.lineWidth,
|
||||
// lineDash: style.lineDash,
|
||||
points: []
|
||||
});
|
||||
this.dragLine = lineObj;
|
||||
|
Loading…
Reference in New Issue
Block a user