Skip to content

Commit 054fc39

Browse files
committed
fix(TileManager): Fixed tile resize regex (Bug 39610)
1 parent adf8a05 commit 054fc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tile-manager/resize-state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type {
1010
TileResizeDimensions,
1111
} from './types.js';
1212

13-
const CssValues = new RegExp(/(?<start>\d+)?\s*\/?\s*span\s*(?<span>\d+)?/gi);
13+
const CssValues = /(?<start>\d+)?\s*\/?\s*span\s*(?<span>\d+)?/gi;
1414

1515
function parseTileGridRect(tile: IgcTileComponent): TileGridPosition {
1616
const computed = getComputedStyle(tile);

0 commit comments

Comments
 (0)