Pārlūkot izejas kodu

Make keyboard controls work in Safari.

tags/2.0.1
Matthew Petroff pirms 10 gadiem
vecāks
revīzija
95281b3eff
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +1
    -1
      VERSION
  2. +2
    -2
      src/js/pannellum.js

+ 1
- 1
VERSION Parādīt failu

@@ -1 +1 @@
2.0
2.0.1

+ 2
- 2
src/js/pannellum.js Parādīt failu

@@ -345,7 +345,7 @@ function changeKey(keynumber, value) {
}
if (keyChanged && value) {
if (performance.now()) {
if (typeof performance !== 'undefined' && performance.now()) {
prevTime = performance.now();
} else {
prevTime = Date.now();
@@ -356,7 +356,7 @@ function changeKey(keynumber, value) {

function keyRepeat() {
var newTime;
if (performance.now()) {
if (typeof performance !== 'undefined' && performance.now()) {
newTime = performance.now();
} else {
newTime = Date.now();


Notiek ielāde…
Atcelt
Saglabāt