diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-11 23:17:06 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-11 23:17:06 +0200 |
commit | 97b8ad1af0f2b4a216f6f1263bef4fbc69e56c7b (patch) | |
tree | 55fb9e6ef0d8ec6927a330a5aef8c0ebc63c5f0c | |
parent | af3327610988c7bc57bb14d7837fe294ce5e7da9 (diff) | |
parent | c8447724e51b60aad603f0bb2478496a06b43fcf (diff) | |
download | redot-engine-97b8ad1af0f2b4a216f6f1263bef4fbc69e56c7b.tar.gz |
Merge pull request #94232 from bruvzg/macos_dnd
[macOS] Fix drag-and-drop feedback.
-rw-r--r-- | platform/macos/godot_content_view.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/macos/godot_content_view.mm b/platform/macos/godot_content_view.mm index 77f3a28ae7..7d43ac9fe6 100644 --- a/platform/macos/godot_content_view.mm +++ b/platform/macos/godot_content_view.mm @@ -329,8 +329,9 @@ Callable::CallError ce; wd.drop_files_callback.callp((const Variant **)&v_args, 1, ret, ce); if (ce.error != Callable::CallError::CALL_OK) { - ERR_PRINT(vformat("Failed to execute drop files callback: %s.", Variant::get_callable_error_text(wd.drop_files_callback, v_args, 1, ce))); + ERR_FAIL_V_MSG(NO, vformat("Failed to execute drop files callback: %s.", Variant::get_callable_error_text(wd.drop_files_callback, v_args, 1, ce))); } + return YES; } return NO; |