Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
parent
1436f2376e
commit
25efbd3023
|
@ -239,8 +239,10 @@ public class MenuButton {
|
||||||
if (scale.getValue() != 1f) {
|
if (scale.getValue() != 1f) {
|
||||||
image = image.getScaledCopy(scale.getValue());
|
image = image.getScaledCopy(scale.getValue());
|
||||||
image.setAlpha(oldAlpha);
|
image.setAlpha(oldAlpha);
|
||||||
|
if (scaleOverride != 1f) {
|
||||||
xScaleOffset = image.getWidth() / 2f - xRadius;
|
xScaleOffset = image.getWidth() / 2f - xRadius;
|
||||||
yScaleOffset = image.getHeight() / 2f - yRadius;
|
yScaleOffset = image.getHeight() / 2f - yRadius;
|
||||||
|
}
|
||||||
lastScale *= scale.getValue();
|
lastScale *= scale.getValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user