Skip to content

Commit

Permalink
fix: Powerpoint table generation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prashanthcraft authored and DraviaVemal committed Jun 27, 2024
1 parent 5adcfa5 commit 22d89ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Global/Utils/Validation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static class Validation
/// </summary>
public static bool IsWithinRange(int x, int y, int topLeftX, int topLeftY, int bottomRightX, int bottomRightY)
{
return x > topLeftX && x < bottomRightX && y > topLeftY && y < bottomRightY;
return x >= topLeftX && x <= bottomRightX && y >= topLeftY && y <= bottomRightY;
}
}
}

0 comments on commit 22d89ed

Please sign in to comment.