These are chat archives for openseadragon/openseadragon

15th
Sep 2017
Ian Gilman
@iangilman
Sep 15 2017 17:06
@tloch Good catch on the number/string issue! I agree it would be good for us to sanitize the arguments, or at least put an error in the console if they are the wrong type. Can you file an issue for that, or even a patch?
Strange that the overlay isn't working when delayed. Are you using addOverlay?
(and yes, you can edit messages in Gitter)
tloch
@tloch
Sep 15 2017 17:53
Yeah, i'm using addoverlay()... I can post code when i'm home. And i can pretty much only reliably reproduce it on my phone because it seems line it needs to still be loading the image while the script adds the overlay
Ian Gilman
@iangilman
Sep 15 2017 18:04
@tloch Possibly so... I suppose you could wait for the image load event... there should be an "open" event after the "page" event
tloch
@tloch
Sep 15 2017 18:07
Oh, i lnteresting. I need to try that. My first thought was that open events would only happen after an actual page load caused by open(), not by a simple page change
Ian Gilman
@iangilman
Sep 15 2017 18:12
Yeah, you would think that, but under the hood goToPage is calling open
tloch
@tloch
Sep 15 2017 18:16
Then i'll try changing that and see if i can trigger it again <3
Ian Gilman
@iangilman
Sep 15 2017 18:20
:thumbsup: