BrushZoomState
Extends:
src/states/base-state~BaseState → BrushZoomState
Protools like zoom with zone selection. Press space bar to reset zoom.
TODO:
- - could also handle `g` and `h` keys to zoom-in, zoom-out.
Constructor Summary
Public Constructor | ||
public |
constructor(timeline: *) |
Method Summary
Public Methods | ||
public |
handleEvent(e: *) |
|
public |
onKeyDown(e: *) |
|
public |
onMouseDown(e: *) |
|
public |
onMouseMove(e: *) |
|
public |
onMouseUp(e: *) |
Public Constructors
public constructor(timeline: *) source
Params:
Name | Type | Attribute | Description |
timeline | * |
Public Methods
public handleEvent(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onKeyDown(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onMouseDown(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onMouseMove(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onMouseUp(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |