mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-05 13:31:10 -08:00
Darkened chat background slightly
This commit is contained in:
parent
ad23544f24
commit
9e1ba3e235
4 changed files with 4 additions and 13 deletions
|
|
@ -175,16 +175,6 @@ public class Formation{
|
|||
return -1;
|
||||
}
|
||||
|
||||
// debug
|
||||
public SlotAssignment getSlotAssignmentAt(int index){
|
||||
return slotAssignments.get(index);
|
||||
}
|
||||
|
||||
// debug
|
||||
public int getSlotAssignmentCount(){
|
||||
return slotAssignments.size;
|
||||
}
|
||||
|
||||
/** Writes new slot locations to each member */
|
||||
public void updateSlots(){
|
||||
positionOffset.set(anchor);
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ package mindustry.async;
|
|||
|
||||
import arc.*;
|
||||
import arc.struct.*;
|
||||
import arc.util.async.*;
|
||||
import mindustry.game.EventType.*;
|
||||
|
||||
import java.util.concurrent.*;
|
||||
|
|
@ -49,7 +50,7 @@ public class AsyncCore{
|
|||
executor = Executors.newFixedThreadPool(processes.size, r -> {
|
||||
Thread thread = new Thread(r, "AsyncLogic-Thread");
|
||||
thread.setDaemon(true);
|
||||
thread.setUncaughtExceptionHandler((t, e) -> Core.app.post(() -> { throw new RuntimeException(e); }));
|
||||
thread.setUncaughtExceptionHandler((t, e) -> Threads.throwAppException(e));
|
||||
return thread;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ public class ChatFragment extends Table{
|
|||
private Font font;
|
||||
private GlyphLayout layout = new GlyphLayout();
|
||||
private float offsetx = Scl.scl(4), offsety = Scl.scl(4), fontoffsetx = Scl.scl(2), chatspace = Scl.scl(50);
|
||||
private Color shadowColor = new Color(0, 0, 0, 0.4f);
|
||||
private Color shadowColor = new Color(0, 0, 0, 0.5f);
|
||||
private float textspacing = Scl.scl(10);
|
||||
private Seq<String> history = new Seq<>();
|
||||
private int historyPos = 0;
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ kapt.include.compile.classpath=false
|
|||
kotlin.stdlib.default.dependency=false
|
||||
#needed for android compilation
|
||||
android.useAndroidX=true
|
||||
archash=a9dedf9345fe888e54ab2be3c56bf8d4d2aeb2b8
|
||||
archash=1412891bd14e01db3f3cb3576cf4f7dd502dd14b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue