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:
Pierre Ossman
2017-10-20 13:23:03 +02:00
parent 8d1f0a3de8
commit 002907d2ce
7 changed files with 9 additions and 32 deletions

View File

@@ -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

View File

@@ -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