Updated Toggled Colour To Grey

Also removed redundant comment
This commit is contained in:
Simplyfenton 2024-05-19 17:17:16 +01:00
parent e172869e66
commit 0f758df1dc

View File

@ -329,7 +329,6 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler {
this.cursorObj.setPosition(6, -60); this.cursorObj.setPosition(6, -60);
ui.showText('Lock item rarities on reroll (affects reroll cost).'); ui.showText('Lock item rarities on reroll (affects reroll cost).');
} else if (cursor === 1 && this.rowCursor === -1){ } else if (cursor === 1 && this.rowCursor === -1){
// this.cursorObj.setPosition((this.scene.game.canvas.width / 6) -50, -60);
this.cursorObj.setPositionRelative(this.IvScannerToggleContainer, -10, 4); this.cursorObj.setPositionRelative(this.IvScannerToggleContainer, -10, 4);
ui.showText('Toggle whether to receive the IV Scanner prompt at battle start.'); ui.showText('Toggle whether to receive the IV Scanner prompt at battle start.');
} }
@ -400,7 +399,7 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler {
} }
updateToggleIvScannerText(): void { updateToggleIvScannerText(): void {
const textStyle = !this.scene.IvScannerEnabled ? TextStyle.SUMMARY_RED : TextStyle.PARTY; const textStyle = !this.scene.IvScannerEnabled ? TextStyle.SUMMARY_GRAY : TextStyle.PARTY;
this.IvScannerToggleText.setColor(this.getTextColor(textStyle)); this.IvScannerToggleText.setColor(this.getTextColor(textStyle));
this.IvScannerToggleText.setShadowColor(this.getTextColor(textStyle, true)); this.IvScannerToggleText.setShadowColor(this.getTextColor(textStyle, true));
} }