|
@@ -40,6 +40,7 @@ uses
|
|
|
{$ENDIF}
|
|
|
{$IfDef MAC_COCOA}
|
|
|
CocoaAll,
|
|
|
+ MacOSAll
|
|
|
{$ENDIF}
|
|
|
{$IFDEF iOS}
|
|
|
iPhoneAll, CFRunLoop, CGGeometry, CFBase, CFString
|
|
@@ -1103,7 +1104,7 @@ eventLoop:
|
|
|
NSScrollWheel:
|
|
|
begin
|
|
|
if ev.scrollingDeltaY > 0 then
|
|
|
- mouseAction[M_BMIDDLE].state := mouseAction[M_BMIDDLE].state or is_mWheelUp;
|
|
|
+ mouseAction[M_BMIDDLE].state := mouseAction[M_BMIDDLE].state or is_mWheelUp
|
|
|
else
|
|
|
mouseAction[M_BMIDDLE].state := mouseAction[M_BMIDDLE].state or is_mWheelDown;
|
|
|
end;
|