From 7ed71ceb908200db58c4b6d45763e14f5cf58a91 Mon Sep 17 00:00:00 2001 From: ifzeroequalsone Date: Sat, 24 Aug 2024 01:12:31 -0500 Subject: [PATCH] [Bug] Clicking Right from Lock Rarities moves to transfer or check team (#2177) * Clicking Right from Lock Rarities moves to transfer or check team * make cursor left movement more natural --------- Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> --- src/ui/modifier-select-ui-handler.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/ui/modifier-select-ui-handler.ts b/src/ui/modifier-select-ui-handler.ts index bb1f970fe1c..90b9c8bdb80 100644 --- a/src/ui/modifier-select-ui-handler.ts +++ b/src/ui/modifier-select-ui-handler.ts @@ -334,7 +334,11 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler { success = false; break; case 1: - success = this.rerollButtonContainer.visible && this.setCursor(0); + if (this.transferButtonContainer.visible) { + success = this.setCursor(3); + } else { + success = this.rerollButtonContainer.visible && this.setCursor(0); + } break; case 2: if (this.transferButtonContainer.visible) { @@ -368,6 +372,13 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler { case 2: success = false; break; + case 3: + if (this.transferButtonContainer.visible) { + success = this.setCursor(1); + } else { + success = this.setCursor(2); + } + break; } } else if (this.cursor < this.getRowItems(this.rowCursor) - 1) { success = this.setCursor(this.cursor + 1);