add show pp toggle to the builder
This commit is contained in:
parent
34901d8114
commit
06bf046c01
@ -40,6 +40,7 @@ export default class Home extends Component {
|
|||||||
showSongInfo: false,
|
showSongInfo: false,
|
||||||
showCutStats: false,
|
showCutStats: false,
|
||||||
shouldReplacePlayerInfoWithScore: false,
|
shouldReplacePlayerInfoWithScore: false,
|
||||||
|
showPp: true,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -285,6 +286,15 @@ export default class Home extends Component {
|
|||||||
size="md"
|
size="md"
|
||||||
/>
|
/>
|
||||||
<Spacer y={1.2} />
|
<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.Group>
|
||||||
<Button
|
<Button
|
||||||
|
Reference in New Issue
Block a user