mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-21 13:17:39 +07:00
Made hand cursor display on configurable blocks
This commit is contained in:
@ -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
|
||||
|
@ -108,6 +108,10 @@ public class DesktopInput extends InputHandler{
|
||||
}
|
||||
}
|
||||
|
||||
if(target != null && target.block().isConfigurable(target)){
|
||||
showCursor = true;
|
||||
}
|
||||
|
||||
if(target != null && Inputs.keyTap("select") && !ui.hasMouse()){
|
||||
if(target.block().isConfigurable(target)){
|
||||
ui.configfrag.showConfig(target);
|
||||
|
Reference in New Issue
Block a user