From dbb66972ebd987f60e10939bfb4493f87bbc73c3 Mon Sep 17 00:00:00 2001 From: Maksymilian Jopek Date: Tue, 26 Oct 2021 16:49:09 +0200 Subject: Quick commit with sort-of working WYSiWYG and moving chit --- src/consts.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/consts.ts') diff --git a/src/consts.ts b/src/consts.ts index 401de7e..dd1d5d6 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -1,4 +1,6 @@ export let _zi = -2147483648; export function zi() { + if (_zi + 1 > 2147483647) + _zi = -2147483648; return (_zi++).toString(); } -- cgit v1.3.1