Skip to content

Commit

Permalink
emit fullscreen event after transition
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Jun 6, 2024
1 parent 94a7041 commit 4cd8365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rerun_js/web-viewer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ export class WebViewer {

document.body.classList.add(classes.hide_scrollbars);
document.documentElement.classList.add(classes.hide_scrollbars);
this.#dispatch_event("fullscreen", true);
});
});

Expand All @@ -451,7 +452,6 @@ export class WebViewer {

_minimize_current_fullscreen_viewer = () => this.#minimize();
this.#fullscreen = true;
this.#dispatch_event("fullscreen", true);
};
}

Expand Down

0 comments on commit 4cd8365

Please sign in to comment.