Skip to content

Commit

Permalink
fix(BaseViewer): swap canvas and project logo
Browse files Browse the repository at this point in the history
Ensures that the canvas is first in the focus / accessibility hierarchy
of the browser.
  • Loading branch information
nikku committed Jan 17, 2025
1 parent d9fc726 commit 1570a31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/BaseViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@ export default function BaseViewer(options) {
*/
this._container = this._createContainer(options);

this._init(this._container, this._moddle, options);

/* <project-logo> */

addProjectLogo(this._container);

/* </project-logo> */

this._init(this._container, this._moddle, options);
}

inherits(BaseViewer, Diagram);
Expand Down

0 comments on commit 1570a31

Please sign in to comment.