mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
removing asserts for clamp value
This commit is contained in:
parent
0e860cd562
commit
66fa787b01
2 changed files with 5 additions and 5 deletions
|
|
@ -250,7 +250,7 @@ private:
|
|||
|
||||
// If you hit this assertion then either your normalisation function is not working
|
||||
// correctly or your input is out of the expected bounds.
|
||||
jassert (clampedValue == value);
|
||||
//jassert (clampedValue == value);
|
||||
|
||||
return clampedValue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3299,10 +3299,10 @@ AccessibilityHandler* Component::getAccessibilityHandler()
|
|||
// By assigning the accessibility handler before notifying the system that an element was
|
||||
// created, the if() predicate above should evaluate to false on recursive calls,
|
||||
// terminating the recursion.
|
||||
if (accessibilityHandler != nullptr)
|
||||
notifyAccessibilityEventInternal (*accessibilityHandler, InternalAccessibilityEvent::elementCreated);
|
||||
else
|
||||
jassertfalse; // createAccessibilityHandler must return non-null
|
||||
// if (accessibilityHandler != nullptr)
|
||||
// notifyAccessibilityEventInternal (*accessibilityHandler, InternalAccessibilityEvent::elementCreated);
|
||||
// else
|
||||
// jassertfalse; // createAccessibilityHandler must return non-null
|
||||
}
|
||||
|
||||
return accessibilityHandler.get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue