mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-30 08:52:49 -05:00
Fix NaN rotation warning
This commit is contained in:
@@ -78,12 +78,12 @@ class RotationController {
|
|||||||
this.video.className = `__rot${rotation}__`
|
this.video.className = `__rot${rotation}__`
|
||||||
}
|
}
|
||||||
|
|
||||||
setSite(rotation) {
|
setSite(rotation = 0) {
|
||||||
this.siteRotation = rotation
|
this.siteRotation = rotation
|
||||||
this._update()
|
this._update()
|
||||||
}
|
}
|
||||||
|
|
||||||
setCustom(rotation) {
|
setCustom(rotation = 0) {
|
||||||
this.customRotation = rotation
|
this.customRotation = rotation
|
||||||
this._update()
|
this._update()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user