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