strarsis
64c337beff
Use ui container element.
7年前
Matthew Petroff
972e7e4f3d
Drop alpha channel to work with Pillow >4.2 ( fixes #455 ).
7年前
Matthew Petroff
8cb5902e1e
Fix viewer locking up on scene change when fade is specified but renderer doesn't return image data ( fixes #430 ).
7年前
Matthew Petroff
0dda044374
Allow hot spots to be added before panorama is loaded ( fixes #432 ).
7年前
Tortila90
d98b7e54b2
Fix `animateMove`, if any of axes is not changed.
It never stops calling `animateMove`, if `pitch`, `yaw`, or `hfov` has not been changed.
Since we may have callback function, `animateMove` has to be called anyway, even if we don't actually need to animate movement. That's why equality of start and end positions is checked here, but not in `setPitch`, `setYaw`, and `setHfov`.
7年前
Tortila90
7c162a039c
Fix yaw out of bounds in `mouseEventToCoords`.
If `config.yaw` is close to -180 or 180, `yaw` might be out of bounds.
7年前
Tortila90
c89710c031
Fix removing event listener inside listener
It's a common situation to remove an event listener inside its definition. Like this:
```javascript
viewer.on('load', function foo() {
//code
viewer.off('load', foo);
});
```
In this case `off` function removes the item from `externalEventListeners` array, while looping through this array may be not finished in `fireEvent` function. A reverse iteration fixes it.
Since we'd like to fire listeners in the order they were added, we need to use `externalEventListeners[type].length - i` index.
7年前
Matthew Petroff
bda0aa7b3b
Add API methods for setting horizon pitch and roll (implements #402 ).
7年前
Matthew Petroff
d9d216f2ae
Fix `sameAzimuth` target yaw when `northOffset` isn't set.
7年前
Matthew Petroff
bae3966413
Merge pull request #398 from Tortila90/master
Fix removing event listeners / Fix 'setTimeout'
7年前
Matthew Petroff
e899596b5a
Fix error check.
7年前
Tortila90
cf3b98eb35
Fix 'setTimeout' when calling processNextTile
setTimeout(f(x), ms) executes function immediately and acts as if there is no setTimeout at all.
7年前
Tortila90
1c46079ef9
Fix removing event listeners
7年前
Matthew Petroff
07c9140548
Add documentation for hot spot ID.
7年前
Matthew Petroff
8ae14374d8
Fix bug with added hot spots sometimes not being persistent ( fixes #387 ).
7年前
Matthew Petroff
37cec62a60
Revert "Use error name instead of number."
This reverts commit 8f436dbf48
.
7年前
Matthew Petroff
faed5e61a9
Fix race condition with hot spot deletion?
7年前
Matthew Petroff
8f436dbf48
Use error name instead of number.
7年前
Matthew Petroff
f94bccab31
Fix NPOT cubemaps on iOS 10.
7年前
Matthew Petroff
d77780c7fa
Tweak parameters used to better align with WebGL best practices.
7年前
Matthew Petroff
118c443ed5
Fix iOS issue when canvas is too big.
7年前
Matthew Petroff
4f2f2bf79f
Make full screen more tolerant of container element CSS positioning.
7年前
Matthew Petroff
97a94adab3
Don't create a new object during pointer move (saves a little bit of heap usage).
7年前
Matthew Petroff
e0a108a504
Allow Pannellum instance created by Video.js plugin to be accessed (implements #371 ).
7年前
Matthew Petroff
1d1a07a9bb
Don't change yaw when turning on device orientation mode.
7年前
Alan Zhang
4a9206d6a9
Disable touch move events when `config.draggable` is false. ( #359 )
7年前
Matthew Petroff
6ba611cd75
Extend previous commit.
7年前
strarsis
4939b8168e
Add viewer reference to standalone viewer ( #358 )
7年前
Matthew Petroff
1e61a22be6
Add `touchstart` and `touchend` events.
7年前
Matthew Petroff
12f578a433
Document new `draggable` parameter.
7年前
Matthew Petroff
af7112ceae
Merge pull request #339 from haripo/add-option-draggable
Add draggable option
7年前
haripo
1c7ee17732
Add draggable option
7年前
Matthew Petroff
dd4bb363d6
Don't prevent mouse wheel event propagation when they're not being used.
7年前
Matthew Petroff
6178b1b41c
Fix bug with `orientationOnByDefault` configuration parameter ( fixes #337 ).
7年前
Matthew Petroff
cd72d775b1
Handle PATH not being set ( fixes #336 ).
7年前
Matthew Petroff
20b44f77ea
Only override key events for keys that are used.
7年前
Matthew Petroff
ab3c3d9fe0
Fix bug in HTML escaping.
7年前
Matthew Petroff
624c1c1124
Add `loadButtonLabel`, `previewTitle`, and `previewAuthor` configuration options (implements #334 ).
7年前
Matthew Petroff
0b00ea5886
Allow HTML in configuration strings when using API.
7年前
Matthew Petroff
b0b7a77cbb
Add option for only enabling mouse wheel zoom while fullscreen (implements #333 ).
7年前
Matthew Petroff
ded506d22d
Add `animationTimingFunction` parameter that allows custom timing functions to be used for animations (implements #331 ).
7年前
Matthew Petroff
4840875186
Add event that fires when scene change fade completes.
7年前
Matthew Petroff
1220065801
Add optional callbacks to `lookAt`, `setPitch`, `setYaw`, and `setHfov` API functions (implements #330 ).
7年前
Matthew Petroff
a8c6a586f9
Don't prevent tabbing (part of #328 ).
7年前
Matthew Petroff
c361255438
Add API method to check whether or not a panorama is loaded.
7年前
Matthew Petroff
b9232997d3
Added API method to be called after viewer is resized.
7年前
Matthew Petroff
f5acb2e8d7
Bump copyright year.
8年前
Matthew Petroff
685e89b2e4
Add API method to check if a panorama is loaded.
8年前
Matthew Petroff
a0a5ee0624
Fix bug in last commit.
8年前
Matthew Petroff
cdf6454f03
Validate image type.
8年前