@midscene/visualizer 1.3.8 → 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -228,6 +228,10 @@
228
228
  background: rgba(0, 0, 0, .04);
229
229
  }
230
230
 
231
+ .player-speed-option.active {
232
+ color: #1677ff;
233
+ }
234
+
231
235
  [data-theme="dark"] .player-settings-dropdown {
232
236
  color: #f8fafd;
233
237
  background-color: #1f1f1f;
@@ -899,11 +899,10 @@ function Player(props) {
899
899
  lineHeight: '32px',
900
900
  padding: '0 8px 0 24px',
901
901
  fontSize: '12px',
902
- fontWeight: playbackSpeed === speed ? 600 : 'normal',
903
902
  cursor: 'pointer',
904
903
  borderRadius: '4px'
905
904
  },
906
- className: "player-speed-option",
905
+ className: `player-speed-option${playbackSpeed === speed ? ' active' : ''}`,
907
906
  children: [
908
907
  speed,
909
908
  "x"
@@ -228,6 +228,10 @@
228
228
  background: rgba(0, 0, 0, .04);
229
229
  }
230
230
 
231
+ .player-speed-option.active {
232
+ color: #1677ff;
233
+ }
234
+
231
235
  [data-theme="dark"] .player-settings-dropdown {
232
236
  color: #f8fafd;
233
237
  background-color: #1f1f1f;
@@ -938,11 +938,10 @@ function Player(props) {
938
938
  lineHeight: '32px',
939
939
  padding: '0 8px 0 24px',
940
940
  fontSize: '12px',
941
- fontWeight: playbackSpeed === speed ? 600 : 'normal',
942
941
  cursor: 'pointer',
943
942
  borderRadius: '4px'
944
943
  },
945
- className: "player-speed-option",
944
+ className: `player-speed-option${playbackSpeed === speed ? ' active' : ''}`,
946
945
  children: [
947
946
  speed,
948
947
  "x"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midscene/visualizer",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "repository": "https://github.com/web-infra-dev/midscene",
5
5
  "homepage": "https://midscenejs.com/",
6
6
  "types": "./dist/types/index.d.ts",
@@ -60,10 +60,10 @@
60
60
  "antd": "^5.21.6",
61
61
  "buffer": "6.0.3",
62
62
  "dayjs": "^1.11.11",
63
- "@midscene/core": "1.3.8",
64
- "@midscene/playground": "1.3.8",
65
- "@midscene/shared": "1.3.8",
66
- "@midscene/web": "1.3.8"
63
+ "@midscene/core": "1.3.9",
64
+ "@midscene/playground": "1.3.9",
65
+ "@midscene/shared": "1.3.9",
66
+ "@midscene/web": "1.3.9"
67
67
  },
68
68
  "license": "MIT",
69
69
  "scripts": {