1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a build error.

This commit is contained in:
jules 2014-06-15 09:04:01 +01:00
parent 6c61dbb68e
commit 9c8afb5b48

View file

@ -40,7 +40,7 @@ public:
void timerCallback() override
{
// workaround for carbon windows not getting mouse-moves..
const Point<int> screenPos (Desktop::getInstance().getMainMouseSource().getScreenPosition());
const Point<float> screenPos (Desktop::getInstance().getMainMouseSource().getScreenPosition());
if (screenPos != lastScreenPos)
{
@ -56,7 +56,7 @@ public:
}
private:
Point<int> lastScreenPos;
Point<float> lastScreenPos;
};
#else