@ray-js/ipc-player-integration 0.0.18-beta-7 → 0.0.18-beta-8
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.
- package/lib/ui/ui.js +3 -1
- package/package.json +1 -1
package/lib/ui/ui.js
CHANGED
|
@@ -220,7 +220,9 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
|
|
|
220
220
|
orientation
|
|
221
221
|
} = data;
|
|
222
222
|
if (['portrait', 'portrait-upside-down', 'landscape-left', 'landscape-right'].includes(orientation)) {
|
|
223
|
-
setScreenType(
|
|
223
|
+
// setScreenType(
|
|
224
|
+
// orientation === 'landscape-left' || orientation === 'landscape-right' ? 'full' : 'vertical'
|
|
225
|
+
// );
|
|
224
226
|
const pageOrientation = orientation === 'landscape-left' || orientation === 'landscape-right' ? 'landscape' : 'portrait';
|
|
225
227
|
|
|
226
228
|
// const { deviceType } = systemInfo.current;
|