iangilman
6e9a300d1a
Merge pull request #133 from iangilman/raf
...
Improved requestAnimationFrame polyfill; fixed timer leaks; added tests
2013-06-20 09:52:10 -07:00
Kevin Ewing
0984106983
Added missing semicolon
2013-06-20 09:08:21 -07:00
Kevin Ewing
2f8a26fda0
Responding to feedback
...
Function now re-assigns itself on the first go round to avoid doing the
check every time it is called
2013-06-19 15:13:56 -07:00
Ian Gilman
e0282a3c86
Stripped whitespace
2013-06-19 13:33:01 -07:00
Kevin Ewing
ebffea5a34
Merge branch 'master' into now
2013-06-19 11:23:42 -07:00
Ian Gilman
8e88f36098
Merge branch 'master' into raf
...
Fixed Conflicts:
src/viewer.js
2013-06-19 11:19:54 -07:00
Kevin Ewing
e8408c1313
Moved to better location
2013-06-19 11:16:45 -07:00
Kevin Ewing
6a3b7cfb2f
Added OpenSeadragon.now()
2013-06-19 10:57:09 -07:00
Chris Adams
9f6f164d9f
Remove all whitespace
...
The results of running this command::
find . -name \*.js -print0 | xargs -0 perl -p -i -e "s|[ \t]+$||"
(Split from #136 )
2013-06-19 13:33:27 -04:00
Ian Gilman
beadcdcc89
Merge branch 'master' into raf
2013-06-19 10:15:53 -07:00
iangilman
c14467afa4
Merge pull request #135 from robhobbes/master
...
Only disable the previous button if the navPrevNextWrap option is not set
2013-06-19 10:12:38 -07:00
Ian Gilman
4022206261
Removed the parens around new Date call, for consistency
2013-06-19 10:03:44 -07:00
Ian Gilman
2e48239056
Addressing code review comments
2013-06-19 09:58:22 -07:00
Ian Gilman
dbc8a59ae8
Cleaned out dead code in scheduleUpdate and updateMulti
...
… as pointed out by @ventero
2013-06-19 09:58:09 -07:00
Robert Hickman
ade93ffc5e
Only disable the previous button if the navPrevNextWrap option is not set.
2013-06-18 15:19:09 -06:00
Ian Gilman
713fad4224
Exposing _updateRequestId as a semi-private member for testing purposes
2013-06-18 11:06:43 -07:00
Ian Gilman
e99c126a85
Navigator now updates properly when reopening a viewer
...
Before, if you closed a viewer and then opened a new tilesource into
it, the navigator would still have the old tilesource. This patch fixes
that.
2013-06-17 11:51:02 -07:00
Ian Gilman
c6a38dd802
Now closing the navigator when the viewer closes
...
At the very least this was causing the navigator to continue to request
and process frames even after its viewer had been closed.
2013-06-17 11:31:41 -07:00
Ian Gilman
4224960252
Fixed another potential timer leak when closing a viewer
...
If the viewer was closed in response to an event raised during the
update function, the timer would have continued running.
2013-06-17 11:30:31 -07:00
Ian Gilman
0112f6a4ea
Improved requestAnimationFrame polyfill
...
Processes all outstanding frame requests per frame, rather than one at
a time.
2013-06-17 11:28:42 -07:00
Ventero
0093153e4e
Simplify setting element opacity.
...
This simplifies setElementOpacity by removing support for the
obsolete, IE-only element.filters property. Also removes a variable
that previously leaked into the global scope.
2013-06-13 19:09:47 +02:00
Ian Gilman
300167bcf1
Merge branch 'master' into ratio
2013-06-13 09:41:01 -07:00
iangilman
f412d07237
Merge pull request #121 from houseofyin/issue37-navigator
...
Issue37 navigator / Issue101 navigator follow-up / Issue102 navigator default
2013-06-13 09:39:27 -07:00
houseofyin
e9587808ec
Tweaked how the deprecated API element has handled
2013-06-11 14:35:45 -04:00
houseofyin
8a3ec97596
Implemented and documented fallback behavior
2013-06-07 10:24:12 -04:00
Ventero
a18f0e0efb
Improve performance of Tile#drawHTML.
...
By specifying the tile size in absolute pixel values instead of
percentages, we can save the call to $.getElementSize.
2013-06-03 20:09:42 +02:00
houseofyin
7a8ebd7d4c
More reasonable handling of the navigator when interacting outside the bounds of the display region
2013-06-02 22:32:29 -04:00
houseofyin
dc7bc6920c
Updating the documentation
2013-06-01 16:09:04 -04:00
houseofyin
3e24be12e0
Merge branch 'master' of github.com:openseadragon/openseadragon into issue37-navigator
2013-06-01 14:12:04 -04:00
houseofyin
e36f7ed414
Trying to remove the selector element
2013-06-01 14:11:56 -04:00
Ian Gilman
83060156a6
Merge branch 'master' into ratio
2013-05-31 09:18:25 -07:00
Ian Gilman
9c60b28ec3
Merge branch 'master' of github.com:robhobbes/openseadragon into robhobbes-master
...
Fixed Conflicts:
changelog.txt
2013-05-31 09:01:14 -07:00
Robert Hickman
699a5dd101
Adding documentation about navPrevNextWrap.
2013-05-30 12:46:54 -06:00
Ian Gilman
b34f460fb0
Reverting minPixelRatio to 0.5 for better quality
2013-05-30 10:07:34 -07:00
iangilman
b754ea834f
Merge pull request #112 from openseadragon/blur
...
Fixed blendTile()-related blurriness issue (for #95 )
2013-05-30 09:24:30 -07:00
Ventero
b66dd7bed0
Don't load the tile source again when creating a navigator.
...
Previously, when showNavigator was set to true when creating the
viewer, the navigator would unnecessarily load and parse the tile
source, even though a fully parsed object already exists.
2013-05-30 02:53:53 +02:00
Robert Hickman
b5d977d593
Adding an option that allows the previous and next buttons to wrap around past the end or beginning images.
2013-05-29 17:10:45 -06:00
Ian Gilman
1d51b72785
Fixed blendTile()-related blurriness issue
...
We were setting drawer.updateAgain to the result of each blendTile(),
which meant it was keeping only the last result. Instead we should have
been only setting it to true if blendTile returned true, but never
setting it to false. Fixed.
2013-05-29 11:18:25 -07:00
David Steinbrunner
91da6af392
domn to down typo fixes
2013-05-28 17:34:20 -04:00
Ian Gilman
b7eb78a57a
Additional doc comments for setControlsEnabled()
2013-05-28 13:54:13 -07:00
David Steinbrunner
7330b4a726
Correction to setControlsEnabled function name in comments
2013-05-28 17:36:09 -03:00
houseofyin
6385b0a296
Merge branch 'master' of github.com:openseadragon/openseadragon into issue37-navigator
2013-05-26 21:17:01 -04:00
houseofyin
f632d98730
Working on follow-up on the initial pull request. Changing the default navigator display property, and starting work on the docs
2013-05-26 21:16:56 -04:00
Ian Gilman
8e37633c49
Whitespace nits
2013-05-24 09:17:26 -07:00
Ian Gilman
8f53c564da
Our requestAnimationFrame no longer changes the global window object
2013-05-23 09:48:38 -07:00
Chris Adams
568d6a1c6b
Paranoid requestAnimationFrame for antique Firefox
...
Very old versions of Firefox - e.g. Firefox 7 - have
window.requestAnimationFrame but not cancelAnimationFrame. This is a
very old release so the easiest fix is simply to check for both of the
functions which we intend to call and fall back on traditional behaviour
if both aren't present.
2013-05-23 10:17:41 -04:00
Ian Gilman
c3772df011
Now trying standard path first in createAjaxRequest
...
As suggested by @cskwg in #98
2013-05-21 10:39:10 -07:00
Ian Gilman
674c0a069d
Fixed typos in comments
2013-05-20 09:40:17 -07:00
iangilman
da86ca2e38
Merge pull request #46 from houseofyin/issue37-navigator
...
Issue37 navigator
2013-05-20 09:38:49 -07:00
houseofyin
bb4a8a0b4f
Bringing back in sync with the latest baseline
2013-05-17 22:29:08 -04:00