improve:position compute separate from draw row
This commit is contained in:
@@ -5,7 +5,7 @@ export interface IDrawOption {
|
||||
curIndex?: number;
|
||||
isSetCursor?: boolean;
|
||||
isSubmitHistory?: boolean;
|
||||
isComputeRowList?: boolean;
|
||||
isCompute?: boolean;
|
||||
}
|
||||
|
||||
export interface IDrawImagePayload {
|
||||
@@ -19,17 +19,9 @@ export interface IDrawRowPayload {
|
||||
rowList: IRow[];
|
||||
pageNo: number;
|
||||
startIndex: number;
|
||||
startX: number;
|
||||
startY: number;
|
||||
innerWidth: number;
|
||||
}
|
||||
|
||||
export interface IDrawRowResult {
|
||||
x: number;
|
||||
y: number;
|
||||
index: number;
|
||||
}
|
||||
|
||||
export interface IPainterOptions {
|
||||
isDblclick: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user