* Activates this space. Safer alternative to space.workspace.activate. Also allows * setting animation on workspaceSwitch. * @param {Boolean} animate
(defaultAnimation = true, paperwmAnimation = false)
| 460 | * @param {Boolean} animate |
| 461 | */ |
| 462 | activate(defaultAnimation = true, paperwmAnimation = false) { |
| 463 | spaces.space_defaultAnimation = defaultAnimation; |
| 464 | spaces.space_paperwmAnimation = paperwmAnimation; |
| 465 | |
| 466 | this.workspace.activate(global.get_current_time()); |
| 467 | |
| 468 | spaces.space_defaultAnimation = true; |
| 469 | spaces.space_paperwmAnimation = false; // switch to default |
| 470 | } |
| 471 | |
| 472 | /** |
| 473 | * Activates this space. Safer alternative to space.workspace.activate_with_focus. Also allows |
no outgoing calls
no test coverage detected