From 7739deb0a5762d9ddf75926688db21a9eed670d7 Mon Sep 17 00:00:00 2001 From: Jarod Houston Date: Tue, 11 Feb 2025 19:00:13 -0800 Subject: [PATCH 1/2] made dashed lines solid on forward commands --- src/components/shared/ExerciseSide.tsx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/shared/ExerciseSide.tsx b/src/components/shared/ExerciseSide.tsx index 325029d..a08471e 100644 --- a/src/components/shared/ExerciseSide.tsx +++ b/src/components/shared/ExerciseSide.tsx @@ -13,6 +13,11 @@ import UnitCircleParent from './Exercises/UnitCircleParent'; ('./Exercises/AxisExercise'); +export enum LineStyles { + Solid, + Dashed, +} + interface ExerciseSideProps { ExercisesNum: number; incrementExercise: () => void; @@ -128,10 +133,10 @@ ExerciseSideProps): JSX.Element { points={[ { x: -3, y: 0, label: '' }, { x: -2, y: 1, label: 'A', line: 1 }, - { x: -1, y: 1, label: 'B', line: 1 }, + { x: -1, y: 1, label: 'B', line: 0 }, { x: 0, y: 0, label: 'C', line: 1 }, { x: 0, y: -1, label: 'D', line: 1 }, - { x: -3, y: -1, label: 'E', line: 1 }, + { x: -3, y: -1, label: 'E', line: 0 }, ]} pointerPosition={{ x: -3, y: 0 }} pointerOrientation={0} @@ -179,10 +184,10 @@ ExerciseSideProps): JSX.Element { origin={{ x: 0, y: 0 }} points={[ { x: 0, y: 0, label: '', line: 0 }, - { x: 0, y: -1, label: 'A', line: 1 }, + { x: 0, y: -1, label: 'A', line: 0 }, { x: -2, y: 0, label: 'B', line: 1 }, - { x: -1, y: 0, label: 'C', line: 1 }, - { x: -1, y: 2, label: 'D', line: 1 }, + { x: -1, y: 0, label: 'C', line: 0 }, + { x: -1, y: 2, label: 'D', line: 0 }, { x: 2, y: 0, label: 'E', line: 1 }, ]} pointerPosition={{ x: 0, y: 0 }} From 49c041a101cb55e9415c2fb0c1356f075be22ba2 Mon Sep 17 00:00:00 2001 From: Jarod Houston Date: Tue, 18 Feb 2025 22:28:31 -0800 Subject: [PATCH 2/2] fixed input width size --- src/styles/Exercises/UnitCircleInput.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/Exercises/UnitCircleInput.scss b/src/styles/Exercises/UnitCircleInput.scss index 4b15f23..e245df2 100644 --- a/src/styles/Exercises/UnitCircleInput.scss +++ b/src/styles/Exercises/UnitCircleInput.scss @@ -68,7 +68,7 @@ margin-left: 2vh; size: 64pt; text-align: center; - width: calc(1.5 * (16px + 1vw)); + width: calc(1.6 * (24px + 1vw)); } .unitcircle-check-box:focus {