mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-19 20:00:00 +00:00
Add Hotkeys Widget Settings (#613)
Co-authored-by: slprime <[email protected]> Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
11 files changed
+105
-57
No files matched your search
@@ -38,13 +38,13 @@ public class NEIMouseUtils {
|
||||
if (mouseBind >= 0) {
|
||||
int button = unhash(mouseBind);
|
||||
switch (button) {
|
||||
case 0:
|
||||
case MOUSE_BTN_LMB:
|
||||
mouseText.add(NEIClientUtils.translate("mouse.left"));
|
||||
break;
|
||||
case 1:
|
||||
case MOUSE_BTN_RMB:
|
||||
mouseText.add(NEIClientUtils.translate("mouse.right"));
|
||||
break;
|
||||
case 2:
|
||||
case MOUSE_BTN_MMB:
|
||||
mouseText.add(NEIClientUtils.translate("mouse.middle"));
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -24,7 +24,7 @@ public enum ReadableNumberConverter {
|
||||
/**
|
||||
* String representation of the sorted postfixes
|
||||
*/
|
||||
private static final char[] ENCODED_POSTFIXES = "KMGTPE".toCharArray();
|
||||
private static final char[] ENCODED_POSTFIXES = "kMGTPE".toCharArray();
|
||||
|
||||
private final Format format;
|
||||
|
||||
|
||||
Reference in new issue
Block a user