Skip to content

Commit

Permalink
Fix play buttons order
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Sep 8, 2024
1 parent 340388e commit ab645e3
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions src/components/PlayerButtonComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,11 @@ export function PlayerButtonGroupComponent({
></PlayerButtonComponent>

<PlayerButtonComponent
baseID="startSegment"
title="sponsorStart"
imageName="PlayerStartIconSponsorBlocker.svg"
isDraggable={false}
onClick={startSegmentCallback}
></PlayerButtonComponent>

<PlayerButtonComponent
baseID="cancelSegment"
title="sponsorCancel"
imageName="PlayerCancelSegmentIconSponsorBlocker.svg"
baseID="submit"
title="OpenSubmissionMenu"
imageName="PlayerUploadIconSponsorBlocker.svg"
isDraggable={false}
onClick={cancelSegmentCallback}
onClick={submitCallback}
></PlayerButtonComponent>

<Popconfirm
Expand All @@ -101,12 +93,21 @@ export function PlayerButtonGroupComponent({
isDraggable={false}
></PlayerButtonComponent>
</Popconfirm>

<PlayerButtonComponent
baseID="submit"
title="OpenSubmissionMenu"
imageName="PlayerUploadIconSponsorBlocker.svg"
baseID="cancelSegment"
title="sponsorCancel"
imageName="PlayerCancelSegmentIconSponsorBlocker.svg"
isDraggable={false}
onClick={submitCallback}
onClick={cancelSegmentCallback}
></PlayerButtonComponent>

<PlayerButtonComponent
baseID="startSegment"
title="sponsorStart"
imageName="PlayerStartIconSponsorBlocker.svg"
isDraggable={false}
onClick={startSegmentCallback}
></PlayerButtonComponent>
</ConfigProvider>
);
Expand Down

0 comments on commit ab645e3

Please sign in to comment.