[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>
This commit is contained in:
parent
4867ffb229
commit
7ed71ceb90
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue