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:
parent
6c61dbb68e
commit
9c8afb5b48
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue