@ray-js/ipc-player-integration 0.0.1-beta-11 → 0.0.1-beta-12

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.
Files changed (2) hide show
  1. package/lib/ui/ui.js +1 -1
  2. package/package.json +1 -1
package/lib/ui/ui.js CHANGED
@@ -59,7 +59,7 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
59
59
  type
60
60
  } = sizeData;
61
61
  console.log('监听到屏幕布局变化', type);
62
- setScreenType(type);
62
+ setScreenType(type === 'landscape' ? 'full' : 'vertical');
63
63
  });
64
64
  const systemInfo = useRef(null);
65
65
  if (!systemInfo.current) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ipc-player-integration",
3
- "version": "0.0.1-beta-11",
3
+ "version": "0.0.1-beta-12",
4
4
  "description": "IPC 播放器功能集成",
5
5
  "main": "lib/index",
6
6
  "files": [