raw_mouse changed to screen_mouse

This commit is contained in:
Sebastian
2024-11-14 23:21:04 +01:00
parent 2e103dc561
commit ab34081dbb
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ namespace VISEQ::BASE {
virtual bool pickedUp() {
if(clicked() && held()) {
picked_up = true;
drag_offset = position - state->raw_mouse;
drag_offset = position - state->screen_mouse;
}
return picked_up;
}