fix(foundry): stabilize workspace window glass compositing
This commit is contained in:
@@ -2601,17 +2601,31 @@ textarea.nodedc-field__control {
|
||||
.nodedc-workspace-window {
|
||||
position: absolute;
|
||||
isolation: isolate;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
grid-template-rows: auto minmax(0, 1fr) auto;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
border: 1px solid;
|
||||
border-color:
|
||||
rgb(255 255 255 / var(--nodedc-modal-glass-outline-opacity))
|
||||
rgb(255 255 255 / var(--nodedc-modal-glass-outline-soft-opacity))
|
||||
rgb(255 255 255 / var(--nodedc-modal-glass-outline-soft-opacity))
|
||||
rgb(255 255 255 / var(--nodedc-modal-glass-outline-opacity));
|
||||
border-radius: var(--nodedc-radius-modal);
|
||||
animation: nodedc-window-in var(--nodedc-duration-normal) var(--nodedc-ease-standard);
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
/* Workspace windows repaint frequently while their body is selected, scrolled,
|
||||
or switched between tabs. Keep their material rim on the element itself:
|
||||
Chromium can briefly expose a full masked pseudo-element when it recomposites
|
||||
several backdrop-filter surfaces above a WebGL canvas. */
|
||||
.nodedc-workspace-window.nodedc-glass-material::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.nodedc-workspace-window[data-auto-height="true"]:not([data-interaction]) {
|
||||
transition: height var(--nodedc-duration-normal) var(--nodedc-ease-standard);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user