Skip to content

Commit

Permalink
[Enhancement] change export video playback button order (#1916)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorDykhta committed Aug 10, 2022
1 parent 3873442 commit 41414ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/components/common/animation-control/playback-controls.tsx
Expand Up @@ -103,12 +103,11 @@ function PlaybackControlsFactory(
PlayControl
) {
const PLAYBACK_CONTROLS_DEFAULT_ACTION_COMPONENTS = [
WindowActionControl,
AnimationWindowControl,
// backwards compatible
PlayControl,
SpeedControlFactory(AnimationSpeedSlider),
ResetControl,
PlayControl
WindowActionControl,
AnimationWindowControl
];

// eslint-disable-next-line complexity
Expand Down
1 change: 1 addition & 0 deletions src/reducers/map-style-updaters.ts
Expand Up @@ -67,6 +67,7 @@ export type BaseMapStyle = {
style?: Object;
layerGroups: LayerGroup[];
accessToken?: string;
custom?: boolean;
};

export type MapStyles = {
Expand Down
2 changes: 1 addition & 1 deletion test/browser/components/common/animation-control-test.js
Expand Up @@ -74,7 +74,7 @@ test('Components -> AnimationControl -> render with props', t => {

wrapper
.find(IconButton)
.at(2)
.at(0)
.simulate('click');
t.ok(toggleAnimation.calledOnce, 'should call toggleAnimation');
t.end();
Expand Down

0 comments on commit 41414ce

Please sign in to comment.