From 465822523d729c69117ac081a85e7f3d52c544fe Mon Sep 17 00:00:00 2001 From: Clement Roblot Date: Fri, 2 Aug 2024 22:45:38 +0700 Subject: [PATCH] Corrected release bug --- examples/component/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/component/input.cpp b/examples/component/input.cpp index 61b3c0c..0e9aa1b 100644 --- a/examples/component/input.cpp +++ b/examples/component/input.cpp @@ -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)