|
|
@@ -19,6 +19,7 @@ import {
|
|
|
defaultStyle as serialDefStyle,
|
|
|
defaultTableStyle as serialTableDefStyle,
|
|
|
joinKey,
|
|
|
+ autoGenTable,
|
|
|
} from "@/core/components/serial";
|
|
|
import { fixedStrokeOptions as serialFixedStrokeOptions } from "@/core/components/serial";
|
|
|
import { defaultStyle as tableDefStyle } from "@/core/components/table";
|
|
|
@@ -133,7 +134,9 @@ const getOverviewRealPixel = (real: number, border = false) =>
|
|
|
export const overviewCustomStyle = (_draw: Draw) => {
|
|
|
const realFixedStrokeOptions = [0.13, 0.18, 0.25, 0.35, 0.5, 0.7];
|
|
|
const defFixelStroke = getOverviewRealPixel(realFixedStrokeOptions[0], true);
|
|
|
+ autoGenTable.value = false
|
|
|
const backs = [
|
|
|
+ () => autoGenTable.value = true,
|
|
|
setDefStyle(lineDefStyle, { strokeWidth: getOverviewRealPixel(120) }),
|
|
|
setDefStyle(triangleFixedStrokeOptions, realFixedStrokeOptions),
|
|
|
setDefStyle(circleFixedStrokeOptions, realFixedStrokeOptions),
|