Skip to content

Commit

Permalink
Merge pull request #265 from kozakdenys/fix-extra-rounded-corner-square
Browse files Browse the repository at this point in the history
Fix extra rounded corner square regression
  • Loading branch information
kozakdenys authored Jan 10, 2025
2 parents fc8376d + a9a0b56 commit 1e97887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/figures/cornerDot/QRCornerDot.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import cornerDotTypes from "../../constants/cornerDotTypes";
import { CornerDotType, RotateFigureArgs, BasicFigureDrawArgs, DrawArgs, Window } from "../../types";

export const availableCornerDotTypes = Object.keys(cornerDotTypes);
export const availableCornerDotTypes = Object.values(cornerDotTypes);

export default class QRCornerDot {
_element?: SVGElement;
Expand Down
2 changes: 1 addition & 1 deletion src/figures/cornerSquare/QRCornerSquare.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import cornerSquareTypes from "../../constants/cornerSquareTypes";
import { CornerSquareType, DrawArgs, BasicFigureDrawArgs, RotateFigureArgs, Window } from "../../types";

export const availableCornerSquareTypes = Object.keys(cornerSquareTypes);
export const availableCornerSquareTypes = Object.values(cornerSquareTypes);

export default class QRCornerSquare {
_element?: SVGElement;
Expand Down

0 comments on commit 1e97887

Please sign in to comment.