client: Add Widget Animation Smoothing
This commit is contained in:
@@ -163,6 +163,9 @@ public abstract class RSClientMixin implements RSClient
|
||||
@Inject
|
||||
private static boolean interpolateObjectAnimations;
|
||||
|
||||
@Inject
|
||||
private static boolean interpolateWidgetAnimations;
|
||||
|
||||
@Inject
|
||||
private static RSPlayer[] oldPlayers = new RSPlayer[2048];
|
||||
|
||||
@@ -307,6 +310,20 @@ public abstract class RSClientMixin implements RSClient
|
||||
interpolateObjectAnimations = interpolate;
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public boolean isInterpolateWidgetAnimations()
|
||||
{
|
||||
return interpolateWidgetAnimations;
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public void setInterpolateWidgetAnimations(boolean interpolate)
|
||||
{
|
||||
interpolateWidgetAnimations = interpolate;
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public void setInventoryDragDelay(int delay)
|
||||
|
||||
Reference in New Issue
Block a user