mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-13 21:02:44 -08:00
Made hand cursor display on configurable blocks
This commit is contained in:
parent
d0783f352d
commit
2dd67c229c
2 changed files with 6 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#Autogenerated file. Do not modify.
|
||||
#Thu Mar 22 19:20:28 EDT 2018
|
||||
#Fri Mar 23 22:41:58 EDT 2018
|
||||
version=release
|
||||
androidBuildCode=456
|
||||
androidBuildCode=458
|
||||
name=Mindustry
|
||||
code=3.4
|
||||
build=custom build
|
||||
|
|
|
|||
|
|
@ -107,6 +107,10 @@ public class DesktopInput extends InputHandler{
|
|||
Cursors.restoreCursor();
|
||||
}
|
||||
}
|
||||
|
||||
if(target != null && target.block().isConfigurable(target)){
|
||||
showCursor = true;
|
||||
}
|
||||
|
||||
if(target != null && Inputs.keyTap("select") && !ui.hasMouse()){
|
||||
if(target.block().isConfigurable(target)){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue