删除日志

This commit is contained in:
walker 2023-09-01 17:00:40 +08:00
parent 530c01faa5
commit 1762d6e629

View File

@ -104,21 +104,11 @@ export class CommonMouseTool extends AppInteractionPlugin {
private updateBoxLineColor(cp: ICanvasProperties) {
// 根据画布背景调整线色
const color = new Color(cp.backgroundColor);
// 对比色
const r = 1 - color.red;
const g = 1 - color.green;
const b = 1 - color.blue;
// const cn = 0xffffff - color.toNumber();
this._boxLineColor.setValue([r, g, b]);
console.log(
'框选线色',
color.red,
color.green,
color.blue,
this._boxLineColor.red,
this._boxLineColor.green,
this._boxLineColor.blue,
this._boxLineColor
);
}
bind(): void {