This commit is contained in:
Anuken
2019-08-12 13:29:02 -04:00
parent c4aa0b2863
commit d0ff0307f5
32 changed files with 5 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ public class WaveInfoDialog extends FloatingDialog{
buildGroups();
}).growX().height(70f);
}), new Label("$waves.none"){{
visible(groups::isEmpty);
visible(() -> groups.isEmpty());
touchable(Touchable.disabled);
setWrap(true);
setAlignment(Align.center, Align.center);

View File

@@ -17,11 +17,12 @@ public class MirrorFilter extends GenerateFilter{
{
options(new SliderOption("angle", () -> angle, f -> angle = (int)f, 0, 360, 45));
buffered = true;
}
@Override
protected void apply(){
v1.trns(angle - 90, 1f);
v1.trnsExact(angle - 90, 1f);
v2.set(v1).scl(-1f);
v1.add(in.width/2f - 0.5f, in.height/2f - 0.5f);