mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
[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;
|
success = false;
|
||||||
break;
|
break;
|
||||||
case 1:
|
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;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
if (this.transferButtonContainer.visible) {
|
if (this.transferButtonContainer.visible) {
|
||||||
@ -368,6 +372,13 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler {
|
|||||||
case 2:
|
case 2:
|
||||||
success = false;
|
success = false;
|
||||||
break;
|
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) {
|
} else if (this.cursor < this.getRowItems(this.rowCursor) - 1) {
|
||||||
success = this.setCursor(this.cursor + 1);
|
success = this.setCursor(this.cursor + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user