mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
10.5 SDK fix.
This commit is contained in:
parent
66a6275e76
commit
c322d6243e
1 changed files with 3 additions and 0 deletions
|
|
@ -628,10 +628,13 @@ public:
|
|||
|
||||
void redirectMagnify (NSEvent* ev)
|
||||
{
|
||||
#if defined (MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
|
||||
const float invScale = 1.0f - [ev magnification];
|
||||
|
||||
if (invScale != 0.0f)
|
||||
handleMagnifyGesture (0, getMousePos (ev, view), getMouseTime (ev), 1.0f / invScale);
|
||||
#endif
|
||||
(void) ev;
|
||||
}
|
||||
|
||||
void sendMouseEvent (NSEvent* ev)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue