mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
moved examples folder to gh-pages branch. fixed some refactor bugs that affected fullpage toggle. added copy to folder spcific in build.properties as WWW so the distributable openseadragon.js can be copied to gh-pages branch running locally. unearthed the ability to make controls fade (which apparently they were supposed to do by default)
This commit is contained in:
parent
5dd00910f8
commit
d4740545c5
@ -6,6 +6,10 @@
|
||||
PROJECT: openseadragon
|
||||
BUILD_MAJOR: 0
|
||||
BUILD_MINOR: 8
|
||||
BUILD_ID: 07
|
||||
BUILD_ID: 08
|
||||
BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
|
||||
VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
|
||||
|
||||
# This is the location of where we want to copy the built js file
|
||||
# and other distributables like images.
|
||||
WWW: ../www/openseadragon/
|
||||
|
@ -9,6 +9,9 @@
|
||||
Build file for Zoomable User Interface HTML5 project OpenSeadragon.
|
||||
</description>
|
||||
|
||||
<!-- YOU CAN OVERRIDE PROPERTIES PER YOUR NEED IN local.properties -->
|
||||
<property file="local.properties" />
|
||||
|
||||
<!-- BASIC PROJECT PROPERTIES TO HELP TRACK VERSION -->
|
||||
<property file="build.properties" />
|
||||
|
||||
@ -55,6 +58,8 @@
|
||||
<filelist refid="openseadragon.javascript" />
|
||||
</concat>
|
||||
|
||||
<copy todir='${WWW}' file='openseadragon.js' />
|
||||
|
||||
</target>
|
||||
|
||||
</project>
|
@ -3,7 +3,7 @@
|
||||
* (c) 2010 OpenSeadragon
|
||||
* (c) 2010 CodePlex Foundation
|
||||
*
|
||||
* OpenSeadragon 0.8.0
|
||||
* OpenSeadragon 0.8.08
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* License: New BSD License (BSD)
|
||||
@ -197,6 +197,8 @@ OpenSeadragon = window.OpenSeadragon || (function(){
|
||||
return target;
|
||||
};
|
||||
|
||||
$.Debug = window.console ? window.console : function(){};
|
||||
|
||||
}( OpenSeadragon ));
|
||||
|
||||
(function($){
|
||||
@ -2106,7 +2108,7 @@ $.Viewer.prototype = {
|
||||
this._prevContainerSize = $.Utils.getWindowSize();
|
||||
|
||||
// mouse will be inside container now
|
||||
onContainerEnter( this );
|
||||
$.delegate( this, onContainerEnter )();
|
||||
|
||||
} else {
|
||||
|
||||
@ -2126,7 +2128,7 @@ $.Viewer.prototype = {
|
||||
this._prevContainerSize = $.Utils.getElementSize( this.element );
|
||||
|
||||
// mouse will likely be outside now
|
||||
onContainerExit( this );
|
||||
$.delegate( this, onContainerExit )();
|
||||
|
||||
}
|
||||
|
||||
@ -2230,8 +2232,8 @@ function updateControlsFade( viewer ) {
|
||||
opacity = Math.min( 1.0, opacity );
|
||||
opacity = Math.max( 0.0, opacity );
|
||||
|
||||
for ( i = this.controls.length - 1; i >= 0; i--) {
|
||||
this.controls[ i ].setOpacity( opacity );
|
||||
for ( i = viewer.controls.length - 1; i >= 0; i--) {
|
||||
viewer.controls[ i ].setOpacity( opacity );
|
||||
}
|
||||
|
||||
if ( opacity > 0 ) {
|
||||
|
@ -197,4 +197,6 @@ OpenSeadragon = window.OpenSeadragon || (function(){
|
||||
return target;
|
||||
};
|
||||
|
||||
$.Debug = window.console ? window.console : function(){};
|
||||
|
||||
}( OpenSeadragon ));
|
||||
|
@ -666,7 +666,7 @@ $.Viewer.prototype = {
|
||||
this._prevContainerSize = $.Utils.getWindowSize();
|
||||
|
||||
// mouse will be inside container now
|
||||
onContainerEnter( this );
|
||||
$.delegate( this, onContainerEnter )();
|
||||
|
||||
} else {
|
||||
|
||||
@ -686,7 +686,7 @@ $.Viewer.prototype = {
|
||||
this._prevContainerSize = $.Utils.getElementSize( this.element );
|
||||
|
||||
// mouse will likely be outside now
|
||||
onContainerExit( this );
|
||||
$.delegate( this, onContainerExit )();
|
||||
|
||||
}
|
||||
|
||||
@ -790,8 +790,8 @@ function updateControlsFade( viewer ) {
|
||||
opacity = Math.min( 1.0, opacity );
|
||||
opacity = Math.max( 0.0, opacity );
|
||||
|
||||
for ( i = this.controls.length - 1; i >= 0; i--) {
|
||||
this.controls[ i ].setOpacity( opacity );
|
||||
for ( i = viewer.controls.length - 1; i >= 0; i--) {
|
||||
viewer.controls[ i ].setOpacity( opacity );
|
||||
}
|
||||
|
||||
if ( opacity > 0 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user