mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 02:29:26 +02:00
opengl: cocoa, fix the typo of hanlding mouse wheel event
git-svn-id: trunk@57218 -
This commit is contained in:
parent
5bc548965e
commit
5d5d3e5e62
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user