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
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
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
Ian Gilman
b9cb52a184
Updated copyright to 2023
2023-05-25 14:52:20 -07:00
Ian Gilman
d3ef767487
Merge pull request #2136 from jonasengelmann/master
...
Viewport rotation animation
2022-08-23 14:13:22 -07:00
Ian Gilman
f31179c9ce
Updated copyright to 2022
2022-06-08 15:02:29 -07:00
jonasengelmann
8519e30a3a
added viewport rotation animation
2022-03-29 16:50:18 +02:00
gunmiosb
f9fea572a5
Removed unnecessary (style.display !== 'none') check
...
Fixes issues 774 and 1861
2020-07-29 11:02:25 +02:00
Stefan Weil
0e2f5d49ef
Fix some typos in comments (found by codespell)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-09-01 10:59:20 +02:00
leesei
cce1e9ac37
fix: overlay size calculation
...
fix #1116
2017-02-01 12:06:14 +08:00
leesei
286ba36bf3
fix param for update()
...
Changes to be committed:
modified: src/overlay.js
2017-01-06 11:30:09 +08:00
Antoine Vandecreme
4bf7b62939
Fix enums doc.
2016-04-10 19:01:30 -04:00
Antoine Vandecreme
cd7bb8a8c4
Fix doc and debug message.
2016-04-06 12:55:50 -04:00
Antoine Vandecreme
81f439d430
Document the viewport parameter as mandatory in Overlay.getBounds.
2016-04-06 09:10:51 -04:00
Antoine Vandecreme
53d1534cc2
Add old properties for backward compatibility.
2016-04-05 13:05:32 -04:00
Antoine Vandecreme
5f9053fb6e
Fix Overlay.getBounds with BOUNDING_BOX rotation mode.
2016-04-01 15:46:43 -04:00
Antoine Vandecreme
fafb7f8db6
Readd blank lines.
2016-04-01 13:31:36 -04:00
Antoine Vandecreme
bd62d56a37
Fix Overlays.getBounds with rotation.
2016-04-01 13:29:09 -04:00
Antoine Vandecreme
c8ed3893ad
Fix method name.
2016-03-31 16:59:26 -04:00
Antoine Vandecreme
05a7e5e467
Fix bounding box rotation mode with placement other than top left.
2016-03-31 16:53:19 -04:00
Antoine Vandecreme
15a0db045e
Fix changelog and add comments.
2016-03-31 15:45:44 -04:00
Antoine Vandecreme
70b39d681b
Fix viewer.addOverlay and Overlay.getBounds
2016-03-31 13:25:59 -04:00
Antoine Vandecreme
577327a629
Change overlays to now always having Point location.
2016-03-30 15:12:50 -04:00
Antoine Vandecreme
ffbb8b2cfe
Add support of overlays rotation on IE9.
2016-03-30 11:16:29 -04:00
Antoine Vandecreme
33bd943b7a
Set overlays position and size with floating point values.
2016-03-29 15:29:36 -04:00
Antoine Vandecreme
cac5f6dec3
Add overlays rotation support.
2016-03-28 17:06:59 -04:00
Antoine Vandecreme
3e3ce188b1
Add scaleWidth and scaleHeight options to overlays.
2016-03-25 16:49:58 -04:00
Antoine Vandecreme
9c461824b3
Update OpenSeadragon.Placement to be serializable.
2016-03-22 15:50:48 -04:00
Ian Gilman
856f00994b
Changelog for #853
2016-02-23 09:22:53 -08:00
Alexey Tikhonov
7bcb1cc59f
return clone of bounds in Overlay.getBounds so original bounds wouldn't be affected
2016-02-20 00:44:33 +03:00
Alexey Tikhonov
06d263b4be
Add Viewer.getOverlayById and Overlay.getBounds functions
2016-02-18 01:43:53 +03:00
Antoine Vandecreme
a12b74ec17
Fix @lends for new JSDoc. Fix polymorphic functions doc ( #824 ).
2016-01-24 16:09:18 -05:00
Antoine Vandecreme
2c73b0fb44
Use Math.round instead of Math.floor and Math.ceil for overlay placement.
2015-10-09 14:15:54 -04:00
Rick Smith
d2f1e432cd
Use spaces not tabs
...
Phew...flame war averted. ;)
2015-06-23 16:08:18 -06:00
Rick Smith
b1c6a75c49
When overlays are hidden, keep them that way
...
Overlays previously had their display set to 'block' each time they were drawn. Now if their display is 'none' their display property is left alone
2015-06-23 16:04:40 -06:00
Ian Gilman
00c2881c64
Fixed test breakages
2014-11-03 17:14:17 -08:00
Antoine Vandecreme
4be56cdb52
Overlays performance optimization. See #359
2014-03-20 15:39:31 -04:00
Antoine Vandecreme
7852718be2
Fix style
2014-03-15 11:51:36 -04:00
Antoine Vandecreme
ecf10f5911
Fix test messages, add doc and factorize overlay object creation
2014-03-15 11:20:33 -04:00
Antoine Vandecreme
aaad805727
Add test for fixed overlay + update doc
2014-02-05 14:57:47 -05:00
Antoine Vandecreme
365dad9317
Move all overlay code from drawer to viewer
2014-01-30 15:38:37 -05:00
Mark Salsbery
930e8c4dfd
Updated Doclets
2013-11-25 08:48:44 -08:00
Mark Salsbery
ece76925a6
Updated Doclets
...
Lots of changes, most notably event documentation (@event and @fires)
2013-11-21 12:19:07 -08:00