strarsis
9c157ff121
Build 05837fd
.
pirms 6 gadiem
strarsis
05837fd84e
Merge branch 'master' of https://github.com/mpetroff/pannellum into master-build
pirms 6 gadiem
Matthew Petroff
2341ef6b2b
Bump copyright year.
pirms 6 gadiem
Matthew Petroff
67cd2f5c93
Add method to retrieve viewer's container element (implements #463 ).
pirms 6 gadiem
Matthew Petroff
2de1706be0
Allow CORS setting to be configured (implements #515 ).
pirms 6 gadiem
Matthew Petroff
14a7032a52
Add method to check if device orientation control is active (implements #524 ).
pirms 6 gadiem
Matthew Petroff
aa8636227d
Use WebGL context size instead of canvas size.
pirms 7 gadiem
Matthew Petroff
3cdadaa42f
Fix bug where default image type argument didn't work for libpannellum.
pirms 7 gadiem
Matthew Petroff
f0a7fcf02c
Fix bug related to removing hot spots.
pirms 7 gadiem
Matthew Petroff
793918c255
Don't show hand cursor when dragging is disabled.
pirms 7 gadiem
Matthew Petroff
499fff145d
Add option to disable keyboard controls.
pirms 7 gadiem
Matthew Petroff
83a66bdac5
Fix regression that broke keyboard controls in 64c337beff
.
pirms 7 gadiem
Matthew Petroff
90b03f84db
Fix regression introduced in 93f3df1431
.
pirms 7 gadiem
Matthew Petroff
8c992e822a
Add link to translations to README.
pirms 7 gadiem
Matthew Petroff
f0fcf31998
Fix bugs that caused yaw angle to jump when turning on device orientation control.
pirms 7 gadiem
Matthew Petroff
93f3df1431
Add translation support (implements #147 ).
pirms 7 gadiem
Matthew Petroff
9c5d3212a6
Make sure yaw animation is in shortest direction.
pirms 7 gadiem
Matthew Petroff
35edd9f5f7
Expose turning device orientation control on and off via API (implements #477 ).
pirms 7 gadiem
Matthew Petroff
508a21044f
Fix bug when `destroy()` is called twice ( fixes #468 ).
pirms 7 gadiem
strarsis
3dd59817f8
Update build.
pirms 7 gadiem
strarsis
5fd59e24fd
Merge branch 'master' into master-build
pirms 7 gadiem
strarsis
a3918f2ffa
Use absolute position for ui element.
pirms 7 gadiem
strarsis
c68ba56db8
64c337b
pirms 7 gadiem
strarsis
64c337beff
Use ui container element.
pirms 7 gadiem
Matthew Petroff
972e7e4f3d
Drop alpha channel to work with Pillow >4.2 ( fixes #455 ).
pirms 7 gadiem
Matthew Petroff
8cb5902e1e
Fix viewer locking up on scene change when fade is specified but renderer doesn't return image data ( fixes #430 ).
pirms 7 gadiem
Matthew Petroff
0dda044374
Allow hot spots to be added before panorama is loaded ( fixes #432 ).
pirms 7 gadiem
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`.
pirms 7 gadiem
Tortila90
7c162a039c
Fix yaw out of bounds in `mouseEventToCoords`.
If `config.yaw` is close to -180 or 180, `yaw` might be out of bounds.
pirms 7 gadiem
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.
pirms 7 gadiem
Matthew Petroff
bda0aa7b3b
Add API methods for setting horizon pitch and roll (implements #402 ).
pirms 7 gadiem
Matthew Petroff
d9d216f2ae
Fix `sameAzimuth` target yaw when `northOffset` isn't set.
pirms 7 gadiem
Matthew Petroff
bae3966413
Merge pull request #398 from Tortila90/master
Fix removing event listeners / Fix 'setTimeout'
pirms 7 gadiem
Matthew Petroff
e899596b5a
Fix error check.
pirms 7 gadiem
Tortila90
cf3b98eb35
Fix 'setTimeout' when calling processNextTile
setTimeout(f(x), ms) executes function immediately and acts as if there is no setTimeout at all.
pirms 7 gadiem
Tortila90
1c46079ef9
Fix removing event listeners
pirms 7 gadiem
Matthew Petroff
07c9140548
Add documentation for hot spot ID.
pirms 7 gadiem
Matthew Petroff
8ae14374d8
Fix bug with added hot spots sometimes not being persistent ( fixes #387 ).
pirms 7 gadiem
Matthew Petroff
37cec62a60
Revert "Use error name instead of number."
This reverts commit 8f436dbf48
.
pirms 7 gadiem
Matthew Petroff
faed5e61a9
Fix race condition with hot spot deletion?
pirms 7 gadiem
Matthew Petroff
8f436dbf48
Use error name instead of number.
pirms 7 gadiem
Matthew Petroff
f94bccab31
Fix NPOT cubemaps on iOS 10.
pirms 7 gadiem
Matthew Petroff
d77780c7fa
Tweak parameters used to better align with WebGL best practices.
pirms 7 gadiem
Matthew Petroff
118c443ed5
Fix iOS issue when canvas is too big.
pirms 7 gadiem
Matthew Petroff
4f2f2bf79f
Make full screen more tolerant of container element CSS positioning.
pirms 7 gadiem
Matthew Petroff
97a94adab3
Don't create a new object during pointer move (saves a little bit of heap usage).
pirms 7 gadiem
Matthew Petroff
e0a108a504
Allow Pannellum instance created by Video.js plugin to be accessed (implements #371 ).
pirms 7 gadiem
Matthew Petroff
1d1a07a9bb
Don't change yaw when turning on device orientation mode.
pirms 7 gadiem
Alan Zhang
4a9206d6a9
Disable touch move events when `config.draggable` is false. ( #359 )
pirms 7 gadiem
Matthew Petroff
6ba611cd75
Extend previous commit.
pirms 7 gadiem