We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a76bedf commit f8c3ba4Copy full SHA for f8c3ba4
src/pages/Replay/PlayControl/components/Actions.tsx
@@ -55,11 +55,13 @@ export const Actions = memo(() => {
55
<Space size="small" className="right-actions">
56
<Select
57
size="middle"
58
- variant="borderless"
59
defaultValue={speed}
60
placeholder={t('replay.speed')}
61
- style={{ width: 65 }}
62
- suffixIcon={null}
+ style={{ width: 70 }}
+ labelRender={({ label, value }) => {
+ if (value === 1) return t('replay.speed');
63
+ return label;
64
+ }}
65
options={[
66
{ label: '0.5x', value: 0.5 },
67
{ label: '1.0x', value: 1 },
0 commit comments