mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 08:36:10 +03:00
IE specific patches
This commit is contained in:
parent
10a0db14f7
commit
2e821a7dc6
@ -6,7 +6,7 @@
|
|||||||
PROJECT: openseadragon
|
PROJECT: openseadragon
|
||||||
BUILD_MAJOR: 0
|
BUILD_MAJOR: 0
|
||||||
BUILD_MINOR: 9
|
BUILD_MINOR: 9
|
||||||
BUILD_ID: 33
|
BUILD_ID: 34
|
||||||
BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
|
BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
|
||||||
VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
|
VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @version OpenSeadragon 0.9.33
|
* @version OpenSeadragon 0.9.34
|
||||||
*
|
*
|
||||||
* @fileOverview
|
* @fileOverview
|
||||||
* <h2>
|
* <h2>
|
||||||
@ -4203,7 +4203,8 @@ $.Navigator = function( options ){
|
|||||||
style.top = '0px';
|
style.top = '0px';
|
||||||
style.left = '0px';
|
style.left = '0px';
|
||||||
style.border = '1px solid #900';
|
style.border = '1px solid #900';
|
||||||
style.outline = '2px auto #900';
|
//TODO: IE doesnt like this property being set
|
||||||
|
//style.outline = '2px auto #900';
|
||||||
style.background = 'transparent';
|
style.background = 'transparent';
|
||||||
style.float = 'left'; //Webkit
|
style.float = 'left'; //Webkit
|
||||||
style.cssFloat = 'left'; //Firefox
|
style.cssFloat = 'left'; //Firefox
|
||||||
@ -4234,16 +4235,16 @@ $.Navigator = function( options ){
|
|||||||
//console.log( keyCode );
|
//console.log( keyCode );
|
||||||
switch( keyCode ){
|
switch( keyCode ){
|
||||||
case 119://w
|
case 119://w
|
||||||
_this.viewer.viewport.panBy(new $.Point(0, -0.1));
|
_this.viewer.viewport.panBy(new $.Point(0, -0.05));
|
||||||
break;
|
break;
|
||||||
case 115://s
|
case 115://s
|
||||||
_this.viewer.viewport.panBy(new $.Point(0, 0.1));
|
_this.viewer.viewport.panBy(new $.Point(0, 0.05));
|
||||||
break;
|
break;
|
||||||
case 97://a
|
case 97://a
|
||||||
_this.viewer.viewport.panBy(new $.Point(-0.1, 0));
|
_this.viewer.viewport.panBy(new $.Point(-0.05, 0));
|
||||||
break;
|
break;
|
||||||
case 100://d
|
case 100://d
|
||||||
_this.viewer.viewport.panBy(new $.Point(0.1, 0));
|
_this.viewer.viewport.panBy(new $.Point(0.05, 0));
|
||||||
break;
|
break;
|
||||||
case 61://=|+
|
case 61://=|+
|
||||||
_this.viewer.viewport.zoomBy(1.1);
|
_this.viewer.viewport.zoomBy(1.1);
|
||||||
@ -5527,7 +5528,7 @@ $.Spring = function( options ) {
|
|||||||
5.0,
|
5.0,
|
||||||
animationTime: args.length > 1 ?
|
animationTime: args.length > 1 ?
|
||||||
args[ 1 ].animationTime :
|
args[ 1 ].animationTime :
|
||||||
1.5,
|
1.5
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6055,8 +6056,8 @@ $.Drawer = function( options ) {
|
|||||||
|
|
||||||
link.href = "#/overlay/"+id;
|
link.href = "#/overlay/"+id;
|
||||||
link.id = id;
|
link.id = id;
|
||||||
link.className = overlay.class ?
|
link.className = overlay.className ?
|
||||||
overlay.class :
|
overlay.className :
|
||||||
"openseadragon-overlay";
|
"openseadragon-overlay";
|
||||||
|
|
||||||
_this.overlays[ i ] = new $.Overlay( link, rect );
|
_this.overlays[ i ] = new $.Overlay( link, rect );
|
||||||
@ -6513,6 +6514,7 @@ function updateTile( drawer, drawLevel, haveDrawn, x, y, level, levelOpacity, le
|
|||||||
);
|
);
|
||||||
} else if ( tile.loading ) {
|
} else if ( tile.loading ) {
|
||||||
// the tile is already in the download queue
|
// the tile is already in the download queue
|
||||||
|
// thanks josh1093 for finally translating this typo
|
||||||
} else {
|
} else {
|
||||||
best = compareTiles( best, tile );
|
best = compareTiles( best, tile );
|
||||||
}
|
}
|
||||||
|
@ -117,8 +117,8 @@ $.Drawer = function( options ) {
|
|||||||
|
|
||||||
link.href = "#/overlay/"+id;
|
link.href = "#/overlay/"+id;
|
||||||
link.id = id;
|
link.id = id;
|
||||||
link.className = overlay.class ?
|
link.className = overlay.className ?
|
||||||
overlay.class :
|
overlay.className :
|
||||||
"openseadragon-overlay";
|
"openseadragon-overlay";
|
||||||
|
|
||||||
_this.overlays[ i ] = new $.Overlay( link, rect );
|
_this.overlays[ i ] = new $.Overlay( link, rect );
|
||||||
@ -575,6 +575,7 @@ function updateTile( drawer, drawLevel, haveDrawn, x, y, level, levelOpacity, le
|
|||||||
);
|
);
|
||||||
} else if ( tile.loading ) {
|
} else if ( tile.loading ) {
|
||||||
// the tile is already in the download queue
|
// the tile is already in the download queue
|
||||||
|
// thanks josh1093 for finally translating this typo
|
||||||
} else {
|
} else {
|
||||||
best = compareTiles( best, tile );
|
best = compareTiles( best, tile );
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,8 @@ $.Navigator = function( options ){
|
|||||||
style.top = '0px';
|
style.top = '0px';
|
||||||
style.left = '0px';
|
style.left = '0px';
|
||||||
style.border = '1px solid #900';
|
style.border = '1px solid #900';
|
||||||
style.outline = '2px auto #900';
|
//TODO: IE doesnt like this property being set
|
||||||
|
//style.outline = '2px auto #900';
|
||||||
style.background = 'transparent';
|
style.background = 'transparent';
|
||||||
style.float = 'left'; //Webkit
|
style.float = 'left'; //Webkit
|
||||||
style.cssFloat = 'left'; //Firefox
|
style.cssFloat = 'left'; //Firefox
|
||||||
@ -86,16 +87,16 @@ $.Navigator = function( options ){
|
|||||||
//console.log( keyCode );
|
//console.log( keyCode );
|
||||||
switch( keyCode ){
|
switch( keyCode ){
|
||||||
case 119://w
|
case 119://w
|
||||||
_this.viewer.viewport.panBy(new $.Point(0, -0.1));
|
_this.viewer.viewport.panBy(new $.Point(0, -0.05));
|
||||||
break;
|
break;
|
||||||
case 115://s
|
case 115://s
|
||||||
_this.viewer.viewport.panBy(new $.Point(0, 0.1));
|
_this.viewer.viewport.panBy(new $.Point(0, 0.05));
|
||||||
break;
|
break;
|
||||||
case 97://a
|
case 97://a
|
||||||
_this.viewer.viewport.panBy(new $.Point(-0.1, 0));
|
_this.viewer.viewport.panBy(new $.Point(-0.05, 0));
|
||||||
break;
|
break;
|
||||||
case 100://d
|
case 100://d
|
||||||
_this.viewer.viewport.panBy(new $.Point(0.1, 0));
|
_this.viewer.viewport.panBy(new $.Point(0.05, 0));
|
||||||
break;
|
break;
|
||||||
case 61://=|+
|
case 61://=|+
|
||||||
_this.viewer.viewport.zoomBy(1.1);
|
_this.viewer.viewport.zoomBy(1.1);
|
||||||
|
@ -32,7 +32,7 @@ $.Spring = function( options ) {
|
|||||||
5.0,
|
5.0,
|
||||||
animationTime: args.length > 1 ?
|
animationTime: args.length > 1 ?
|
||||||
args[ 1 ].animationTime :
|
args[ 1 ].animationTime :
|
||||||
1.5,
|
1.5
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user