Commit Graph

2065 Commits

Author SHA1 Message Date
Tom
16dbfc62be Add support for imageSmoothingEnabled to WebGLDrawer 2024-11-13 16:43:46 -05:00
Ian Gilman
faf6d19db5
Merge pull request #2606 from pearcetm/viewerMargins
Fix problem with asymmetric viewport margins in webgl drawer
2024-10-28 09:14:09 -07:00
Tom
fab607584c fix problem with asymmetric viewport margins 2024-10-25 11:15:52 -06:00
Ian Gilman
12e4607a30
Merge pull request #2600 from pearcetm/viewerMargins
Make webgl drawer account for viewport margins
2024-10-22 09:41:40 -07:00
Tom
6c20101c8b make webgl drawer account for viewport margins 2024-10-17 15:06:04 -04:00
Tom
263a664e58 add _needsUpdate during tiledImage.setClip() 2024-10-07 18:19:38 -04:00
Richard Benjamin Allen
4d4ccb99ba Fixed: Removed unused style attributes 2024-09-18 00:16:41 +01:00
Richard Benjamin Allen
c0eae951c6 Fixed: Removed unnecessary complexity 2024-09-17 23:38:48 +01:00
Richard Benjamin Allen
3b99665b32 Fixed: removeChild on Node
The overlay.js code has been changed to apply a div wrapper to the overlay element as opposed to its innerHTML.
2024-09-17 12:16:00 +01:00
Tom
f3b92e0562 remove resize handler when webgl drawer is destroyed 2024-08-15 17:51:06 -04:00
Mark Salsbery
7740accfaf Update openseadragon.js
Fix jsdoc comments for OpenSeadragon.getCurrentPixelDensityRatio
2024-08-04 15:29:12 -07:00
Ian Gilman
980deca107
Merge pull request #2558 from pearcetm/webgl-update
Mark image-unloaded and tile-ready events as private
2024-07-17 09:17:54 -07:00
Ian Gilman
2db1c2f1da
Merge pull request #2557 from pearcetm/acceleration-test
add check for missing webgl context in WebGLDrawer.isSupported()
2024-07-17 09:16:58 -07:00
Tom
b87eaf3040 mark image-unloaded and tile-ready events as private 2024-07-16 14:17:29 -04:00
Tom
37ce7cc256 add check for missing webgl context in WebGLDrawer.isSupported() 2024-07-16 14:07:27 -04:00
Ian Gilman
819d4cb20c
Merge pull request #2546 from BeebBenjamin/flip-overlay
Fixed: Invert overlay scale and rotate on flip
2024-07-16 09:30:02 -07:00
Richard Benjamin Allen
c1c1d480dd Fixed: Try renaming to something more descriptive 2024-07-16 08:38:39 +01:00
Richard Benjamin Allen
2c5d2eb7c6 Fixed: More meaning full variable and help text, innerStyle not outer 2024-07-12 20:36:11 +01:00
Richard Benjamin Allen
396fcb33a5 Fixed: Outer div added to element to allow independent flipping
An outer div has been added to the internal HTML of the overlay element to allow for independent flipping of the content.  Flipping will invert the `scaleX` value of the transform property for the style of the element.  By setting the value `overlayContentFlipped: true` in the OSD config we can flip the content in the opposite direction to the overlay, but by setting this to false we can flip the content along with the overlay.  This allows for some people who are using images in their overlay to flip the images along with the overlay.
2024-07-11 22:08:37 +01:00
Richard Benjamin Allen
176fae11e5 Fixed: Add inner div if text and invert x 2024-07-09 14:08:58 +01:00
Richard Benjamin Allen
fd9b701272 Fixed: Position.x not working on Scaled overlay 2024-07-09 10:37:51 +01:00
Mark Salsbery
c08ef0ee36 Merge branch 'master' into ms-IE11 2024-06-23 16:36:59 -07:00
Mark Salsbery
2290e5d08d More dropped support for IE11 2024-06-23 16:32:00 -07:00
Richard Benjamin Allen
2c6b970f29 Fixed: Remove trailing space 2024-06-18 11:28:29 +01:00
Richard Benjamin Allen
263dc85fbd Fixed: Remove trailing spaces 2024-06-18 11:22:23 +01:00
Richard Benjamin Allen
79eecdcc76 Fixed: Remove duplicate line 2024-06-18 11:10:11 +01:00
Richard Benjamin Allen
44347fb2d0 Fixed: Invert overlay scale and rotate on flip 2024-06-18 10:57:55 +01:00
Mark Salsbery
db0ab10428 Added avif to supported image formats (#2439) 2024-06-14 14:49:42 -07:00
eug-L
35d468c4db propagate ajaxWithCredentials to navigator 2024-06-09 20:52:37 +08:00
Eugene Lu
65c727079c
Merge branch 'openseadragon:master' into master 2024-06-09 20:32:23 +08:00
Ian Gilman
3f5735be67
Merge pull request #2537 from pearcetm/fix-tile-loading
Fix sorting logic for best tiles to load
2024-06-04 09:25:12 -07:00
eug-L
834ed6ede5 fix ajax headers not propagated to navigator 2024-06-04 15:24:56 +08:00
Tom
65d30e7ce1 add minPixelRatio guard back in; fix tabs and spaces in comments' 2024-05-31 16:24:04 -04:00
Tom
f7c12a716b undo extra tabs before ach line introduced automatically by copy-and-pasting code 2024-05-22 18:59:19 -04:00
Tom
be30b429f8 remove unused code paths 2024-05-22 18:54:29 -04:00
Tom
3f03bd6e20 swap logic of haveDrawn and drawLevel within _updateTile 2024-05-22 17:36:16 -04:00
Tom
9ef1c5952e revert swapping order of arguments in _updateTile call to fix behavior of canvas drawer 2024-05-21 16:33:48 -04:00
Tom
5be44521b5 Fix sorting logic for best tiles to load 2024-05-21 04:30:17 -04:00
Ian Gilman
f3a942c522
Merge pull request #2521 from pearcetm/fix-2519
Fix #2519
2024-04-29 10:47:42 -07:00
Tom
8b401e65e3 fix #2519 by checking minimumOverlapRequired on a per-tiled image basis 2024-04-28 08:38:03 -04:00
Tom
9d6a785aac add comment; clean up console.log messages from testing 2024-04-27 16:41:18 -04:00
Tom
f2c8db5db0 fix #2517 2024-04-27 16:38:30 -04:00
Tom
7ce5499868 fix comments 2024-04-11 12:45:11 -04:00
Tom
f7c8e4cf33 fix canvas drawer when viewport is flipped and tiled image is rotated. fix webgl drawer debug info when viewport is flipped. 2024-04-10 16:42:15 -04:00
frameflare
0ba2f75213 Signed-off-by: frameflare <yangzenghua@outlook.com>
chore: fix some comments

Signed-off-by: frameflare <yangzenghua@outlook.com>
2024-04-07 10:50:24 +08:00
eug-L
4451131999 update flags for setMaxZoomPixelRatio 2024-04-05 12:47:15 +08:00
eug-L
b0926b3e69 Getter & setter for Viewport.maxZoomPixelRatio 2024-04-04 16:02:09 +08:00
eug-L
5990e5649b update error message for Viewport.imageToViewportZoom 2024-04-03 23:06:42 +08:00
Ian Gilman
262d04c6c6
Merge pull request #2492 from pearcetm/fix-webgl-tilepadding
Make WebGLDrawer deal with tiles with padding
2024-03-07 09:29:19 -08:00
Tom
029a40aa21 deal with tiles that have padding 2024-03-05 15:39:54 -05:00