Skip to content

Commit

Permalink
fix: remove console
Browse files Browse the repository at this point in the history
  • Loading branch information
huanhuanwa committed Jun 27, 2024
1 parent 24f9afa commit 9bf80f4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app/plugins/with-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,13 @@ export const withCommonPlugin = (board: PlaitBoard) => {
export const getCommonHitElement = (board: PlaitBoard, elements: PlaitElement[]) => {
let firstFilledElement: PlaitElement | null = null;
let filledElementIndex = -1;
console.log(elements);
for (let i = 0; i < elements.length; i++) {
const element = elements[i];
let fill = '';
if (PlaitDrawElement.isGeometry(element) && !PlaitDrawElement.isText(element)) {
fill = getDrawFillByElement(board, element);
console.log(1, fill);
}
if (MindElement.isMindElement(board, element)) {
console.log(2, fill);
fill = getMindFillByElement(board, element);
}
if (fill && fill !== DefaultDrawStyle.fill && fill !== TRANSPARENT) {
Expand Down

0 comments on commit 9bf80f4

Please sign in to comment.