) {
@@ -253,7 +293,6 @@ const BlockFrame_Default_Component = (props: BlockFrameProps) => {
return;
}
}
-
const innerStyle: React.CSSProperties = {};
if (!preview && customBg?.bg != null) {
innerStyle.background = customBg.bg;
@@ -278,10 +317,9 @@ const BlockFrame_Default_Component = (props: BlockFrameProps) => {
onClick={blockModel?.onClick}
onFocusCapture={blockModel?.onFocusCapture}
ref={blockModel?.blockRef}
- style={style}
onKeyDown={handleKeyDown}
>
-
+
{preview ? previewElem : children}
diff --git a/frontend/app/store/global.ts b/frontend/app/store/global.ts
index d19ae3ed..330fc08c 100644
--- a/frontend/app/store/global.ts
+++ b/frontend/app/store/global.ts
@@ -103,6 +103,7 @@ function initGlobalAtoms(initOpts: GlobalInitOptions) {
}
return windowData.activetabid;
});
+ const cmdShiftDelayAtom = jotai.atom(false);
atoms = {
// initialized in wave.ts (will not be null inside of application)
windowId: windowIdAtom,
@@ -115,6 +116,7 @@ function initGlobalAtoms(initOpts: GlobalInitOptions) {
tabAtom: tabAtom,
activeTabId: activeTabIdAtom,
isFullScreen: isFullScreenAtom,
+ cmdShiftDelayAtom: cmdShiftDelayAtom,
};
}
diff --git a/frontend/app/theme.less b/frontend/app/theme.less
index 0d655a4c..3ae59f0f 100644
--- a/frontend/app/theme.less
+++ b/frontend/app/theme.less
@@ -46,6 +46,7 @@
--zindex-tab-name: 3;
--zindex-layout-placeholder-container: 1;
--zindex-layout-overlay-container: 2;
+ --zindex-block-mask-inner: 10;
// z-indexes in xterm.css
// xterm-helpers: 5
diff --git a/frontend/types/custom.d.ts b/frontend/types/custom.d.ts
index 9c59e606..ba8d797e 100644
--- a/frontend/types/custom.d.ts
+++ b/frontend/types/custom.d.ts
@@ -16,6 +16,7 @@ declare global {
tabAtom: jotai.Atom; // driven from WOS
activeTabId: jotai.Atom; // derrived from windowDataAtom
isFullScreen: jotai.PrimitiveAtom;
+ cmdShiftDelayAtom: jotai.PrimitiveAtom;
};
type TabLayoutData = {