Fit resolutions to less than 2k x 2k (#1065)
* Fit resolutions to less than 2k x 2k * Integer resolutions * Scale mouse clicks * Move stream maxResolution logic to getDimensions
This commit is contained in:
@ -640,7 +640,10 @@ export class EngineCommandManager {
|
||||
|
||||
// If we already have an engine connection, just need to resize the stream.
|
||||
if (this.engineConnection) {
|
||||
this.handleResize({ streamWidth: width, streamHeight: height })
|
||||
this.handleResize({
|
||||
streamWidth: width,
|
||||
streamHeight: height,
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user