opengl: cocoa, fix the typo of hanlding mouse wheel event

git-svn-id: trunk@57218 -
This commit is contained in:
dmitry 2018-02-02 04:20:21 +00:00
parent 5bc548965e
commit 5d5d3e5e62

View File

@ -502,7 +502,7 @@ end;
procedure TCocoaOpenGLView.scrollWheel(event: NSEvent);
begin
if not Assigned(callback)
if Assigned(callback)
then callback.scrollWheel(event)
else inherited scrollWheel(event);
end;