@parhelia/core 0.1.12259 → 0.1.12269

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.
@@ -2168,9 +2168,10 @@ export function EditorShell({ configuration, className, item: loadItemDescriptor
2168
2168
  useEffect(() => {
2169
2169
  if (fullscreen &&
2170
2170
  !searchParams.get("fullscreen") &&
2171
- !configuration.forceFullscreen)
2171
+ !configuration.forceFullscreen &&
2172
+ !isMobile)
2172
2173
  setShowFullscreenHint(true);
2173
- }, [fullscreen, configuration.forceFullscreen, searchParams]);
2174
+ }, [fullscreen, configuration.forceFullscreen, searchParams, isMobile]);
2174
2175
  const state = {
2175
2176
  page,
2176
2177
  configuration,
@@ -4334,7 +4335,7 @@ export function EditorShell({ configuration, className, item: loadItemDescriptor
4334
4335
  }, [currentItemDescriptor]);
4335
4336
  if (!currentView)
4336
4337
  return null;
4337
- const editorUi = fullscreen ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "fixed inset-0 flex", children: [_jsx(PageViewerFrame, { compareView: compareMode, pageViewContext: activePageViewContext }), _jsx(FullscreenControls, { device: activePageViewContext.device, setDevice: (d) => activePageViewContext.setDevice(d), canExit: !configuration.forceFullscreen, onExit: () => setFullscreen(false), firstMobileDeviceName: configuration.devices[0]?.name })] }), showFullscreenHint && !configuration.forceFullscreen && (_jsx("div", { className: "fixed inset-0", onMouseMoveCapture: () => {
4338
+ const editorUi = fullscreen ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "fixed inset-0 flex", children: [_jsx(PageViewerFrame, { compareView: compareMode, pageViewContext: activePageViewContext }), _jsx(FullscreenControls, { device: activePageViewContext.device, setDevice: (d) => activePageViewContext.setDevice(d), canExit: !configuration.forceFullscreen, onExit: () => setFullscreen(false), firstMobileDeviceName: configuration.devices[0]?.name })] }), showFullscreenHint && !configuration.forceFullscreen && !isMobile && (_jsx("div", { className: "fixed inset-0 z-10000", onMouseMoveCapture: () => {
4338
4339
  setTimeout(() => {
4339
4340
  setShowFullscreenHint(false);
4340
4341
  }, 600);