From 90c2b39d767110096e81a8feb241e9f284958a7e Mon Sep 17 00:00:00 2001 From: jerryshi042003 <79689407+jerryshi042003@users.noreply.github.com> Date: Thu, 23 May 2024 16:39:59 -0700 Subject: [PATCH] Update taggerButtonData.js --- app/services/taggerButtonData.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/services/taggerButtonData.js b/app/services/taggerButtonData.js index d3088fd..10d2a9e 100644 --- a/app/services/taggerButtonData.js +++ b/app/services/taggerButtonData.js @@ -1422,7 +1422,7 @@ export const getTaggerButtonData = (updateActiveRow, addNewRow, setCurrentPage) if (data.x >= -157 & data.x < -105) { updateActiveRow('secondServeZone', 'Wide'); - if (data.y >= 10 & data.y <= 245) + if (data.y <= -10 & data.y >= -245) { updateActiveRow('secondServeIn', '1'); setCurrentPage('GroundstrokeContact'); @@ -1470,7 +1470,7 @@ export const getTaggerButtonData = (updateActiveRow, addNewRow, setCurrentPage) else if (data.x >= -105 & data.x <= -52) { updateActiveRow('secondServeZone', 'Body'); - if (data.y >= 10 & data.y <= 245) + if (data.y <= -10 & data.y >= -245) { updateActiveRow('secondServeIn', '1'); setCurrentPage('GroundstrokeContact'); @@ -1518,7 +1518,7 @@ export const getTaggerButtonData = (updateActiveRow, addNewRow, setCurrentPage) else if (data.x > -52 & data.x < 0) { updateActiveRow('secondServeZone', 'T'); - if (data.y >= 10 & data.y <= 245) + if (data.y <= -10 & data.y >= -245) { updateActiveRow('secondServeIn', '1'); setCurrentPage('GroundstrokeContact'); @@ -1616,7 +1616,7 @@ export const getTaggerButtonData = (updateActiveRow, addNewRow, setCurrentPage) if (data.x >= 0 & data.x < 50) { updateActiveRow('secondServeZone', 'T'); - if (data.y <= 10 & data.y >= -245) + if (data.y <= -10 & data.y >= -245) { updateActiveRow('secondServeIn', '1'); setCurrentPage('GroundstrokeContact'); @@ -1664,7 +1664,7 @@ export const getTaggerButtonData = (updateActiveRow, addNewRow, setCurrentPage) else if (data.x >= 50 & data.x <= 105) { updateActiveRow('secondServeZone', 'Body'); - if (data.y <= 10 & data.y >= -245) + if (data.y <= -10 & data.y >= -245) { updateActiveRow('secondServeIn', '1'); setCurrentPage('GroundstrokeContact'); @@ -1712,7 +1712,7 @@ export const getTaggerButtonData = (updateActiveRow, addNewRow, setCurrentPage) else if (data.x > 105 & data.x <= 157) { updateActiveRow('secondServeZone', 'Wide'); - if (data.y <= 10 & data.y >= -245) + if (data.y <= -10 & data.y >= -245) { updateActiveRow('secondServeIn', '1'); setCurrentPage('GroundstrokeContact'); @@ -2153,4 +2153,4 @@ export const columnNames = [ 'Round', 'Surface', 'Notes', -]; \ No newline at end of file +];