add show pp toggle to the builder

This commit is contained in:
Lee 2023-01-14 14:25:43 +00:00
parent 34901d8114
commit 06bf046c01
No known key found for this signature in database
GPG Key ID: BAF8F4DB8E7F38EF

@ -40,6 +40,7 @@ export default class Home extends Component {
showSongInfo: false,
showCutStats: false,
shouldReplacePlayerInfoWithScore: false,
showPp: true,
},
};
}
@ -285,6 +286,15 @@ export default class Home extends Component {
size="md"
/>
<Spacer y={1.2} />
<Text>Show pp (The raw pp value if the map is ranked)</Text>
<Switch
onChange={(event) =>
this.updateValue("showPp", event.target.checked)
}
checked={this.state.values.showPp}
size="md"
/>
<Spacer y={1.2} />
<Button.Group>
<Button