mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-26 02:14:22 +00:00
Couple of minor mouse-pointer fixes.
This commit is contained in:
parent
574694f458
commit
81b2e7818d
15 changed files with 239 additions and 221 deletions
|
|
@ -1503,10 +1503,13 @@ bool Component::isBroughtToFrontOnMouseClick() const throw()
|
|||
//==============================================================================
|
||||
void Component::setMouseCursor (const MouseCursor& cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
if (cursor_ != cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
|
||||
if (flags.visibleFlag)
|
||||
sendFakeMouseMove();
|
||||
if (flags.visibleFlag)
|
||||
updateMouseCursor();
|
||||
}
|
||||
}
|
||||
|
||||
const MouseCursor Component::getMouseCursor()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue