mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-26 07:08:06 +00:00
Remove "downscale only" mode
The normal scaling mode should be sufficient for most use cases, so let's keep the interface simple.
This commit is contained in:
@@ -117,7 +117,7 @@ None
|
||||
| changeCursor | (pixels, mask, hotx, hoty, w, h) | Change cursor appearance
|
||||
| defaultCursor | () | Restore default cursor appearance
|
||||
| disableLocalCursor | () | Disable local (client-side) cursor
|
||||
| autoscale | (containerWidth, containerHeight, downscaleOnly) | Scale the display
|
||||
| autoscale | (containerWidth, containerHeight) | Scale the display
|
||||
|
||||
### 2.3.3 Callbacks
|
||||
|
||||
|
||||
@@ -410,7 +410,7 @@ The `RFB.autoscale()` method is used to automatically adjust
|
||||
|
||||
##### Syntax
|
||||
|
||||
RFB.autoscale( width, height, downscaleOnly );
|
||||
RFB.autoscale( width, height );
|
||||
|
||||
###### Parameters
|
||||
|
||||
@@ -420,9 +420,6 @@ The `RFB.autoscale()` method is used to automatically adjust
|
||||
**`height`**
|
||||
- A `long` specifying the maximum height of the canvas in CSS pixels.
|
||||
|
||||
**`downscaleOnly`**
|
||||
- A `boolean` specifying if the scale must be kept below `1.0`.
|
||||
|
||||
#### RFB.requestDesktopSize()
|
||||
|
||||
The `RFB.requestDesktopSize()` method is used to request a change of
|
||||
|
||||
Reference in New Issue
Block a user