()
| 164 | get dimension(): IDimension { return this._dimension; } |
| 165 | |
| 166 | get offset() { |
| 167 | let top = 0; |
| 168 | let quickPickTop = 0; |
| 169 | if (this.isVisible(Parts.BANNER_PART)) { |
| 170 | top = this.getPart(Parts.BANNER_PART).maximumHeight; |
| 171 | quickPickTop = top; |
| 172 | } |
| 173 | if (this.isVisible(Parts.TITLEBAR_PART)) { |
| 174 | top += this.getPart(Parts.TITLEBAR_PART).maximumHeight; |
| 175 | quickPickTop = top; |
| 176 | } |
| 177 | // If the command center is visible then the quickinput should go over the title bar and the banner |
| 178 | if (this.titleService.isCommandCenterVisible) { |
| 179 | quickPickTop = 6; |
| 180 | } |
| 181 | return { top, quickPickTop }; |
| 182 | } |
| 183 | |
| 184 | //#endregion |
| 185 |
nothing calls this directly
no outgoing calls
no test coverage detected