diff --git a/out/bevy_vaporwave.js b/out/bevy_vaporwave.js index f62f46f..83a3779 100644 --- a/out/bevy_vaporwave.js +++ b/out/bevy_vaporwave.js @@ -1066,8 +1066,13 @@ function __wbg_get_imports() { const ret = arg0.style; return ret; }; + // imports.wbg.__wbg_focus_06621101cc79f5d8 = function() { return handleError(function (arg0) { + // arg0.focus(); + // }, arguments) }; imports.wbg.__wbg_focus_06621101cc79f5d8 = function() { return handleError(function (arg0) { + const scrollPos = window.scrollY; arg0.focus(); + window.scrollTo(0, scrollPos); }, arguments) }; imports.wbg.__wbg_fetch_0b9f0f8239b62e25 = function(arg0, arg1, arg2) { const ret = arg0.fetch(getStringFromWasm0(arg1, arg2));