88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
show () {
this.xPanel.style.display = "block";
}
hide () {
this.xPanel.style.display = "none";
}
center () {
let nHeight = (this.bFlexible) ? window.innerHeight-100 : this.nHeight;
this.xPanel.style = `top: 50%; left: 50%; width: ${this.nWidth}px; height: ${nHeight}px; margin-top: -${nHeight/2}px; margin-left: -${this.nWidth/2}px;`;
}
|
>
|
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
show () {
this.xPanel.style.display = "block";
}
hide () {
this.xPanel.style.display = "none";
oGrammalecte.clearRightClickedNode();
}
center () {
let nHeight = (this.bFlexible) ? window.innerHeight-100 : this.nHeight;
this.xPanel.style = `top: 50%; left: 50%; width: ${this.nWidth}px; height: ${nHeight}px; margin-top: -${nHeight/2}px; margin-left: -${this.nWidth/2}px;`;
}
|