Updated smooth UI
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 251 B |
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 112 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 327 KiB After Width: | Height: | Size: 327 KiB |
@ -1,6 +1,5 @@
|
|||||||
package io.anuke.mindustry.ui;
|
package io.anuke.mindustry.ui;
|
||||||
|
|
||||||
import com.badlogic.gdx.graphics.g2d.TextureRegion;
|
|
||||||
import io.anuke.ucore.core.Core;
|
import io.anuke.ucore.core.Core;
|
||||||
import io.anuke.ucore.core.Graphics;
|
import io.anuke.ucore.core.Graphics;
|
||||||
import io.anuke.ucore.graphics.Draw;
|
import io.anuke.ucore.graphics.Draw;
|
||||||
@ -15,8 +14,6 @@ public class Minimap extends Container<Element>{
|
|||||||
|
|
||||||
public Minimap(){
|
public Minimap(){
|
||||||
super(new Element(){
|
super(new Element(){
|
||||||
TextureRegion r = new TextureRegion();
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void draw(){
|
public void draw(){
|
||||||
if(renderer.minimap.getRegion() == null) return;
|
if(renderer.minimap.getRegion() == null) return;
|
||||||
|
@ -217,7 +217,7 @@ public class PlacementFragment extends Fragment{
|
|||||||
});
|
});
|
||||||
}).colspan(3).fillX().visible(() -> getSelected() != null || tileDisplayBlock() != null).touchable(Touchable.enabled);
|
}).colspan(3).fillX().visible(() -> getSelected() != null || tileDisplayBlock() != null).touchable(Touchable.enabled);
|
||||||
frame.row();
|
frame.row();
|
||||||
frame.addImage("blank").color(Palette.accent).colspan(3).height(3 * 2).growX();
|
frame.addImage("blank").color(Palette.accent).colspan(3).height(3).growX();
|
||||||
frame.row();
|
frame.row();
|
||||||
frame.table("pane-2", blocksSelect -> {
|
frame.table("pane-2", blocksSelect -> {
|
||||||
blocksSelect.margin(4).marginTop(0);
|
blocksSelect.margin(4).marginTop(0);
|
||||||
|