mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
This commit is contained in:
parent
802ecfcf25
commit
34e3394062
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ void MagnifierComponent::setScaleFactor (double newScaleFactor)
|
|||
{
|
||||
jassert (newScaleFactor > 0.0); // hmm - unlikely to work well with a negative scale factor
|
||||
|
||||
newScaleFactor = jlimit (0.1, 1000.0, newScaleFactor);
|
||||
newScaleFactor = jlimit (1.0 / 8.0, 1000.0, newScaleFactor);
|
||||
|
||||
if (scaleFactor != newScaleFactor)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue