Methods
(static) autoset() → {void}
- Description:
This function makes sure every single signal currently displayed on screen is within bounds of the CANVAS element. If a signal is clipping through the canvas, we will adjust the offset until the signal is within bound. If an offset isn't enough, we also scale down the signal.
- Source:
Returns:
- Type
- void
(static) updateCursorPosition(channelKey) → {void}
- Description:
This function is here to replace the vertical offset cursor for each channel if the signals have been moved during the autoset function.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
channelKey |
string | Object key corresponding to a certain signal saved within 'channelData'. |
Returns:
- Type
- void