Browse Source

Workaround for PPC builds.

tags/2021-05-28
jules 13 years ago
parent
commit
5e39e9944a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm

+ 2
- 0
modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm View File

@@ -528,6 +528,7 @@ public:
wheel.isReversed = false;
wheel.isSmooth = false;
#if ! JUCE_PPC
@try
{
#if defined (MAC_OS_X_VERSION_10_7) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
@@ -555,6 +556,7 @@ public:
}
@catch (...)
{}
#endif
if (wheel.deltaX == 0 && wheel.deltaY == 0)
{


Loading…
Cancel
Save