aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorAscynx <78341107+Ascynx@users.noreply.github.com>2022-10-21 03:25:08 +0200
committerGitHub <noreply@github.com>2022-10-20 21:25:08 -0400
commit19175cb01395cd0a74714a0202152a0d52a561d4 (patch)
tree2eada68339dba9920379eb1ece89f96c956fc2ce /src/main/resources
parentebf61799fb28c971d94a02815924018b0964dea4 (diff)
downloadNotEnoughUpdates-19175cb01395cd0a74714a0202152a0d52a561d4.tar.gz
NotEnoughUpdates-19175cb01395cd0a74714a0202152a0d52a561d4.tar.bz2
NotEnoughUpdates-19175cb01395cd0a74714a0202152a0d52a561d4.zip
Ctrl + Z and (Ctrl + Y and Ctrl + Shift + Z) support (#358)
* Ctrl + Z and Ctrl + Y support currently for Bazaar and AH search along with the search bar. (might have issues as my brain jumbled up during the making of this and also probably missing a few places that could use it.) * Ctrl + Z and Ctrl + Y support but on a bigger scale Removed it from Auction and Bazaar search and created a new mixin for GuiTextField containing the Undo (Ctrl + z) and Redo (Ctrl + y) action. * Ctrl + shift + Z for redo and stack cut. After redo/undo if you type a character or remove one it will cut the stack to that index (won't be able to rewind what you already rewound before.) * Moved the undo/redo detection to MixinGuiTextField#addToStack * Added an override for if something goes wrong see misc > "Enable text field tweaks" Also removed the space that hannibal wanted gone. :) * i hate files changed with only new lines Co-authored-by: nopo <nopotheemail@gmail.com>
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/mixins.notenoughupdates.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/resources/mixins.notenoughupdates.json b/src/main/resources/mixins.notenoughupdates.json
index ed1ba55a..53595874 100644
--- a/src/main/resources/mixins.notenoughupdates.json
+++ b/src/main/resources/mixins.notenoughupdates.json
@@ -51,6 +51,7 @@
"AccessorGuiContainer",
"AccessorGuiEditSign",
"AccessorMinecraft",
- "MixinGuiEditSign"
+ "MixinGuiEditSign",
+ "MixinGuiTextField"
]
}