Skip to content

Commit

Permalink
Center viewport before starting the tutorial (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarciabriseno authored Feb 29, 2024
1 parent a0bbad3 commit ab3b6f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/js/Utility/Tutorial.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
function startTutorial(){
$(document).trigger("center-viewport");

if(Helioviewer.userSettings.get("state.drawers.#hv-drawer-left.open") == false){
helioviewer.drawerLeftClick(true);
}
Expand Down

0 comments on commit ab3b6f7

Please sign in to comment.