(fromSpace, toSpace, animate = false)
| 2691 | } |
| 2692 | |
| 2693 | switchSpace(fromSpace, toSpace, animate = false) { |
| 2694 | const fromId = fromSpace?.index; |
| 2695 | const toId = toSpace?.index; |
| 2696 | if (!fromSpace || !toSpace) { |
| 2697 | return; |
| 2698 | } |
| 2699 | spaces.switchWorkspace(null, fromId, toId, animate); |
| 2700 | } |
| 2701 | |
| 2702 | switchWorkspace(wm, fromIndex, toIndex, animate = false) { |
| 2703 | /** |
nothing calls this directly
no test coverage detected