Corrected release bug

This commit is contained in:
Clement Roblot 2024-08-02 22:45:38 +07:00
parent 719a2388f5
commit 465822523d

View File

@ -91,7 +91,7 @@ int main() {
}
else if (mouse.motion == Mouse::Released)
{
selection.endx = mouse.x-1;
selection.endx = mouse.x;
selection.endy = mouse.y;
}
else if (mouse.motion == Mouse::Moved)