mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-13 19:39:04 +07:00
Removed old korean font / Fixed targeting going through UI
This commit is contained in:
parent
0968981aef
commit
0c63b27eea
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 85 KiB |
@ -10,11 +10,6 @@ Font: {
|
||||
markup: false,
|
||||
scale: 0.5
|
||||
},
|
||||
korean: {
|
||||
file: korean.fnt,
|
||||
markup: true,
|
||||
scale: 0.5
|
||||
},
|
||||
trad-chinese: {
|
||||
file: trad_chinese.fnt,
|
||||
markup: true,
|
||||
|
@ -117,7 +117,7 @@ public class UI extends SceneModule{
|
||||
font.getData().setScale(Vars.fontScale);
|
||||
font.getData().down += Unit.dp.scl(4f);
|
||||
font.getData().lineHeight -= Unit.dp.scl(4.3f);
|
||||
}, skin.font(), skin.getFont("default-font-chat"), skin.getFont("korean"), skin.getFont("trad-chinese"), skin.getFont("simp-chinese"));
|
||||
}, skin.font(), skin.getFont("default-font-chat"), skin.getFont("trad-chinese"), skin.getFont("simp-chinese"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -546,14 +546,14 @@ public class MobileInput extends InputHandler implements GestureListener{
|
||||
|
||||
float worldx = Graphics.world(x, y).x, worldy = Graphics.world(x, y).y;
|
||||
|
||||
checkTargets(worldx, worldy);
|
||||
|
||||
//get tile on cursor
|
||||
Tile cursor = tileAt(x, y);
|
||||
|
||||
//ignore off-screen taps
|
||||
if(cursor == null || ui.hasMouse(x, y)) return false;
|
||||
|
||||
checkTargets(worldx, worldy);
|
||||
|
||||
//remove if request present
|
||||
if(hasRequest(cursor)){
|
||||
removeRequest(getRequest(cursor));
|
||||
|
Loading…
Reference in New Issue
Block a user