Skip to content

Commit c844772

Browse files
committed
[macOS] Fix drag-and-drop feedback.
1 parent 383a6e4 commit c844772

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platform/macos/godot_content_view.mm

+2-1
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,9 @@ - (BOOL)performDragOperation:(id<NSDraggingInfo>)sender {
329329
Callable::CallError ce;
330330
wd.drop_files_callback.callp((const Variant **)&v_args, 1, ret, ce);
331331
if (ce.error != Callable::CallError::CALL_OK) {
332-
ERR_PRINT(vformat("Failed to execute drop files callback: %s.", Variant::get_callable_error_text(wd.drop_files_callback, v_args, 1, ce)));
332+
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)));
333333
}
334+
return YES;
334335
}
335336

336337
return NO;

0 commit comments

Comments
 (0)