Unlimit stretched resizable mode
The limits are no longer necessary as it is limited anyway to fixed mode base size, and with new method of scaling the 100% max is quite limiting. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
*/
|
||||
package net.runelite.mixins;
|
||||
|
||||
import com.google.common.primitives.Ints;
|
||||
import java.awt.Container;
|
||||
import java.awt.Dimension;
|
||||
import net.runelite.api.Constants;
|
||||
@@ -102,8 +101,6 @@ public abstract class StretchedModeMixin implements RSClient
|
||||
@Override
|
||||
public void setScalingFactor(int factor)
|
||||
{
|
||||
factor = Ints.constrainToRange(factor, 0, 100);
|
||||
|
||||
scalingFactor = 1 + (factor / 100D);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user