Skip to content

Commit

Permalink
Merge pull request #161 from awest25/jerryshi042003-in-meeting-changes
Browse files Browse the repository at this point in the history
Update taggerButtonData.js
  • Loading branch information
jerryshi042003 authored May 23, 2024
2 parents 5be4c0a + 90c2b39 commit 17de012
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/services/taggerButtonData.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -2153,4 +2153,4 @@ export const columnNames = [
'Round',
'Surface',
'Notes',
];
];

0 comments on commit 17de012

Please sign in to comment.