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 +];