Fix hidden mode for vsplitter
This commit is contained in:
parent
c028fefb2d
commit
c77017bfbc
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tp/tp-splitter",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"description": "",
|
||||
"main": "tp-splitter.js",
|
||||
"scripts": {
|
||||
|
@ -48,7 +48,7 @@ class TpVSplitter extends LitElement {
|
||||
|
||||
return html`
|
||||
<div id="left" part="left" ?hidden=${leftHidden}><slot name="left"></slot></div>
|
||||
<div id="splitter" part="splitter" @mousedown=${this._enableDrag}></div>
|
||||
<div id="splitter" part="splitter" @mousedown=${this._enableDrag} ?hidden=${leftHidden || rightHidden}></div>
|
||||
<div id="right" part="right" ?hidden=${rightHidden}><slot name="right"></slot></div>
|
||||
`;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user