mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Use NullCheckedInvocation in more places
This commit is contained in:
parent
84750f2f2a
commit
ff0cb4ad5b
46 changed files with 145 additions and 258 deletions
|
|
@ -359,8 +359,7 @@ public:
|
|||
if (checker.shouldBailOut())
|
||||
return;
|
||||
|
||||
if (owner.onValueChange != nullptr)
|
||||
owner.onValueChange();
|
||||
NullCheckedInvocation::invoke (owner.onValueChange);
|
||||
|
||||
if (checker.shouldBailOut())
|
||||
return;
|
||||
|
|
@ -379,8 +378,7 @@ public:
|
|||
if (checker.shouldBailOut())
|
||||
return;
|
||||
|
||||
if (owner.onDragStart != nullptr)
|
||||
owner.onDragStart();
|
||||
NullCheckedInvocation::invoke (owner.onDragStart);
|
||||
}
|
||||
|
||||
void sendDragEnd()
|
||||
|
|
@ -394,8 +392,7 @@ public:
|
|||
if (checker.shouldBailOut())
|
||||
return;
|
||||
|
||||
if (owner.onDragEnd != nullptr)
|
||||
owner.onDragEnd();
|
||||
NullCheckedInvocation::invoke (owner.onDragEnd);
|
||||
}
|
||||
|
||||
void incrementOrDecrement (double delta)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue