mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-24 18:05:33 +07:00
Don't show ghosts when typing in chat (#8644)
* Don't show ghosts when typing in chat * braint
This commit is contained in:
parent
b21c0f4553
commit
4f34a9235c
@ -266,7 +266,7 @@ public class BlockRenderer{
|
||||
public void drawDestroyed(){
|
||||
if(!Core.settings.getBool("destroyedblocks")) return;
|
||||
|
||||
if(control.input.isPlacing() || control.input.isBreaking() || control.input.isRebuildSelecting()){
|
||||
if(control.input.isPlacing() || control.input.isBreaking() || (control.input.isRebuildSelecting() && !scene.hasKeyboard())){
|
||||
brokenFade = Mathf.lerpDelta(brokenFade, 1f, 0.1f);
|
||||
}else{
|
||||
brokenFade = Mathf.lerpDelta(brokenFade, 0f, 0.1f);
|
||||
|
Loading…
Reference in New Issue
Block a user