From 8fc2f3d75803be9f301f0c138e15e6c82a9508a8 Mon Sep 17 00:00:00 2001 From: jojohoch <joachim.hoch@iqb.hu-berlin.de> Date: Mon, 28 Feb 2022 11:51:48 +0100 Subject: [PATCH] [player] Add comments about Unicode values used in the math keyboard --- .../app/components/math-keyboard/math-keyboard.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/player/src/app/components/math-keyboard/math-keyboard.component.ts b/projects/player/src/app/components/math-keyboard/math-keyboard.component.ts index 3e153288e..b06439af0 100644 --- a/projects/player/src/app/components/math-keyboard/math-keyboard.component.ts +++ b/projects/player/src/app/components/math-keyboard/math-keyboard.component.ts @@ -20,10 +20,12 @@ export class MathKeyboardComponent implements OnInit, AfterViewInit { operators!: string[][]; private allowedKeys!: string[]; + // U+2022 readonly placeValue: string[][] = [ ['•'] ]; + // U+2B1C, U+2758, U+2219 readonly squareDashDot: string[][] = [ ['⬜', 'â˜', '∙'] ]; @@ -39,6 +41,7 @@ export class MathKeyboardComponent implements OnInit, AfterViewInit { ['0'] ]; + // '·' = U+00B7 readonly basicOperators: string[][] = [ ['+', '-'], ['·', ':'] -- GitLab