mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Merge pull request #1004 from Riksarkivet/navigationControlAnchorFix
Use control anchor configuration for custom toolbar also
This commit is contained in:
commit
e80c05183b
@ -1746,7 +1746,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
|||||||
if( this.toolbar ){
|
if( this.toolbar ){
|
||||||
this.toolbar.addControl(
|
this.toolbar.addControl(
|
||||||
this.navControl,
|
this.navControl,
|
||||||
{anchor: $.ControlAnchor.TOP_LEFT}
|
{anchor: this.navigationControlAnchor || $.ControlAnchor.TOP_LEFT}
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
this.addControl(
|
this.addControl(
|
||||||
|
Loading…
Reference in New Issue
Block a user