From 52525f6697251615a533fb40373200e3c09f9118 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Fri, 19 May 2017 10:06:48 -0700 Subject: [PATCH] Changelog for #1200 and comment tweak --- changelog.txt | 1 + src/openseadragon.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 5cf4e0ce..23f7d9d6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -40,6 +40,7 @@ OPENSEADRAGON CHANGELOG * Enabled configuration of ImageLoader timeout (#1192) * Viewer.open() now supports an initialPage argument for sequenceMode (#1196) * Fixed: IIPImageServer didn't work with the latest OSD release (#1199) +* Now clamping pixel ratio density to a minimum of 1, fixing display issues on low density devices (#1200) 2.2.1: diff --git a/src/openseadragon.js b/src/openseadragon.js index fd41bf37..9b07d922 100644 --- a/src/openseadragon.js +++ b/src/openseadragon.js @@ -875,7 +875,8 @@ function OpenSeadragon( options ){ }; /** - * A ratio comparing the device screen's pixel density to the canvas's backing store pixel density. Defaults to 1 if canvas isn't supported by the browser. + * A ratio comparing the device screen's pixel density to the canvas's backing store pixel density, + * clamped to a minimum of 1. Defaults to 1 if canvas isn't supported by the browser. * @member {Number} pixelDensityRatio * @memberof OpenSeadragon */