Added drag to scroll container

This commit is contained in:
Sebastian Seedorf
2022-08-16 22:03:36 +02:00
parent a08478e504
commit 1522962edd
10 changed files with 96 additions and 30 deletions

View File

@@ -34,3 +34,7 @@ export function shuffleInplace<T>(array: T[], rng: PRNG): T[] {
}
return array
}
export function fixedEncodeURIComponent(str: string): string {
return encodeURIComponent(str).replace(/[!'()*]/g, c => '%' + c.charCodeAt(0).toString(16));
}