summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-04 15:35:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-04 15:35:42 +0100
commitd8baa2aa71d3da84464aa1b88d41464c2666c1d4 (patch)
treeb87ea08ace96f335cd1e694eeb026eaa71dc2834
parentb6cc1c3b95de7a9afc2d1a1132e87a0b72c19645 (diff)
b
-rw-r--r--editor/tests/raycast-test.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/tests/raycast-test.cpp b/editor/tests/raycast-test.cpp
index e6799de4..c991201d 100644
--- a/editor/tests/raycast-test.cpp
+++ b/editor/tests/raycast-test.cpp
@@ -78,6 +78,11 @@ struct raycast_test : base_test
return true;
}
}
+ else if (e.button == mouse_button_right && is_down)
+ {
+ result.has_result = false;
+ pending.exists = false;
+ }
return false;
}