Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/Core.Assets/src/SplitPanels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const styleString = `
#median:hover { background: var(--neutral-stroke-hover); }
#median:active { background: var(--neutral-stroke-active); }
#median:focus { background: var(--neutral-stroke-focus); }

#median span[part="handle"] { border: 1px solid var(--neutral-stroke-strong-rest); border-radius: 1px; }

::slotted(*) { overflow: auto; }
Expand Down Expand Up @@ -80,7 +80,6 @@ class SplitPanels extends HTMLElement {
const shadow = this.attachShadow({ mode: "open" });
const styleSheet = new CSSStyleSheet();
styleSheet.replaceSync(styleString);
// shadow.adoptedStyleSheets.push(styleSheet);
shadow.adoptedStyleSheets = [...shadow.adoptedStyleSheets, styleSheet];
shadow.innerHTML = template;
}
Expand Down Expand Up @@ -190,9 +189,6 @@ class SplitPanels extends HTMLElement {
if (newValue != oldValue) {
(this as any as DOMStringMap)[name] = newValue;
}
console.log(
`Attribute ${name} has changed from ${oldValue} to ${newValue}.`,
);
}
ensurevalue(value: string | number | any) {
if (!value)
Expand Down