mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
Merge pull request #2276 from ambujsahu81/patch-1
Fix #2264: Navigator display rectangle is off when the page has box-sizing: border-box
This commit is contained in:
commit
5a8e7ddcf8
@ -184,6 +184,7 @@ $.Navigator = function( options ){
|
|||||||
style.styleFloat = 'left'; //IE
|
style.styleFloat = 'left'; //IE
|
||||||
style.zIndex = 999999999;
|
style.zIndex = 999999999;
|
||||||
style.cursor = 'default';
|
style.cursor = 'default';
|
||||||
|
style.boxSizing = 'content-box';
|
||||||
}( this.displayRegion.style, this.borderWidth ));
|
}( this.displayRegion.style, this.borderWidth ));
|
||||||
$.setElementPointerEventsNone( this.displayRegion );
|
$.setElementPointerEventsNone( this.displayRegion );
|
||||||
$.setElementTouchActionNone( this.displayRegion );
|
$.setElementTouchActionNone( this.displayRegion );
|
||||||
|
Loading…
Reference in New Issue
Block a user