mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 19:11:54 +08:00
js cleanup
This commit is contained in:
@@ -220,7 +220,8 @@ export function MediaStreamer(__setActive, __setInactive, __setInfo, __orient) {
|
||||
let width = frame.displayWidth;
|
||||
let height = frame.displayHeight;
|
||||
switch (__orient) {
|
||||
case 90: case 270:
|
||||
case 90:
|
||||
case 270:
|
||||
width = frame.displayHeight;
|
||||
height = frame.displayWidth;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user