2 import { coordinateLength } from '$lib/config';
3 import { canvas } from '$lib/stores/canvas';
5 const kSeparatorRegex = /([0-9a-z]{2})/g;
7 const formatCoordinate = function formatCoordinate(coordinate) {
10 .padStart(coordinateLength, 0)
11 .replace(kSeparatorRegex, '$1 ');
16 { formatCoordinate($canvas.x) } × { formatCoordinate($canvas.y) }
21 background-color: #fff;
27 -webkit-font-smoothing : none;