* Returns current workArea parameters for this space. * @returns object with x, y, width, and height values for this WorkArea.
()
| 516 | * @returns object with x, y, width, and height values for this WorkArea. |
| 517 | */ |
| 518 | workArea() { |
| 519 | let workArea = Main.layoutManager.getWorkAreaForMonitor(this.monitor.index); |
| 520 | return { |
| 521 | x: workArea.x - this.monitor.x, |
| 522 | y: workArea.y - this.monitor.y + Settings.prefs.vertical_margin, |
| 523 | width: workArea.width, |
| 524 | height: workArea.height - Settings.prefs.vertical_margin - Settings.prefs.vertical_margin_bottom, |
| 525 | }; |
| 526 | } |
| 527 | |
| 528 | layoutGrabColumn(column, x, y0, targetWidth, availableHeight, time, grabWindow) { |
| 529 | let space = this; |
no outgoing calls
no test coverage detected