Skip to content

Commit dc55afb

Browse files
fix(TileManager): Fixed tile resize regex (Bug 39610) (#1837)
Co-authored-by: Radoslav Karaivanov <[email protected]>
1 parent 2c47d49 commit dc55afb

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)