Skip to content

Commit

Permalink
Update bevy_vaporwave.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadeperfect authored Nov 27, 2024
1 parent 451c9c7 commit f38ba56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion out/bevy_vaporwave.js
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,9 @@ function __wbg_get_imports() {
return ret;
};
imports.wbg.__wbg_focus_06621101cc79f5d8 = function() { return handleError(function (arg0) {
arg0.focus();
const scrollPos = window.scrollY;
getObject(arg0).focus();
window.scrollTo(0, scrollPos);
}, arguments) };
imports.wbg.__wbg_fetch_0b9f0f8239b62e25 = function(arg0, arg1, arg2) {
const ret = arg0.fetch(getStringFromWasm0(arg1, arg2));
Expand Down

0 comments on commit f38ba56

Please sign in to comment.