diff --git a/.gitignore b/.gitignore index 9654f6c..672266e 100755 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,8 @@ yarn-debug.log* yarn-error.log* pnpm-debug.log* +public/snapshots + # Builds & Coverage coverage/ dist/ diff --git a/public/calculateActions.js b/public/calculateActions.js index 79c1e69..4b2c63a 100755 --- a/public/calculateActions.js +++ b/public/calculateActions.js @@ -374,6 +374,7 @@ async function calculate() { const row242 = getRow(242, 3); const row200 = getRow(200, 3); const row204 = getRow(204, 3); + const row222 = getRow(222, 3); const angleYCandidates = []; @@ -516,10 +517,14 @@ async function calculate() { } // Ellbow / Zusatzschätzung - if (row226 || row229 || row198 || row243 || row242 || row200 || row204) { + if (row222 || row226 || row229 || row198 || row243 || row242 || row200 || row204) { let x226 = 0; let xCount = 0; + if(row222){ + x226 += row222.x_mm * 5; + xCount += 5; + } if (row226) { x226 += row226.x_mm * 5; xCount += 5; diff --git a/public/index.html b/public/index.html index c89c1d8..b7d76d1 100755 --- a/public/index.html +++ b/public/index.html @@ -4,132 +4,85 @@