From b31aa6434f714b7a84d269697942bb2b74e077cf Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Thu, 16 Jan 2025 09:36:29 -0500 Subject: [PATCH] Fix rotation control: ensure rotation value is a number. (#1280) --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 88ff368c2..71f1110e6 100644 --- a/src/index.html +++ b/src/index.html @@ -568,7 +568,7 @@

Duration

}; $iiif_setRotationButton.onclick = function() { - var rotation = $iiif_rotation.value; + var rotation = parseInt($iiif_rotation.value); uv.set({ rotation: rotation, });