mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 14:49:06 -04:00
Improve web demo for mobile (#1556)
`egui_demo_app/lib`: add "About egui" window, and improve mobile layout This makes the app responsive, removing the side bars on mobile and turning them into drop-down menus instead.
This commit is contained in:
@@ -212,22 +212,22 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
||||
|
||||
return real;
|
||||
}
|
||||
function __wbg_adapter_28(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h25f84cc60118f837(arg0, arg1, addHeapObject(arg2));
|
||||
function __wbg_adapter_28(arg0, arg1) {
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0fd05312e5982956(arg0, arg1);
|
||||
}
|
||||
|
||||
function __wbg_adapter_31(arg0, arg1) {
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha2c5a72e5c948e73(arg0, arg1);
|
||||
function __wbg_adapter_31(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h67fa6b1a144b91cc(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_34(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h25f84cc60118f837(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h67fa6b1a144b91cc(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_37(arg0, arg1) {
|
||||
try {
|
||||
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hded0e2f18c7b6997(retptr, arg0, arg1);
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha165bf8c3b3285b8(retptr, arg0, arg1);
|
||||
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
||||
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
||||
if (r1) {
|
||||
@@ -1537,32 +1537,32 @@ async function init(input) {
|
||||
const ret = wasm.memory;
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2300 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 831, __wbg_adapter_28);
|
||||
imports.wbg.__wbindgen_closure_wrapper1269 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 371, __wbg_adapter_28);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2301 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 831, __wbg_adapter_31);
|
||||
imports.wbg.__wbindgen_closure_wrapper1270 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 371, __wbg_adapter_31);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2302 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 831, __wbg_adapter_34);
|
||||
imports.wbg.__wbindgen_closure_wrapper1271 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 371, __wbg_adapter_34);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2311 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 831, __wbg_adapter_37);
|
||||
imports.wbg.__wbindgen_closure_wrapper1280 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 371, __wbg_adapter_37);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2544 = function(arg0, arg1, arg2) {
|
||||
const ret = makeClosure(arg0, arg1, 981, __wbg_adapter_40);
|
||||
imports.wbg.__wbindgen_closure_wrapper1513 = function(arg0, arg1, arg2) {
|
||||
const ret = makeClosure(arg0, arg1, 524, __wbg_adapter_40);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2545 = function(arg0, arg1, arg2) {
|
||||
const ret = makeClosure(arg0, arg1, 981, __wbg_adapter_43);
|
||||
imports.wbg.__wbindgen_closure_wrapper1514 = function(arg0, arg1, arg2) {
|
||||
const ret = makeClosure(arg0, arg1, 524, __wbg_adapter_43);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2583 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 1001, __wbg_adapter_46);
|
||||
imports.wbg.__wbindgen_closure_wrapper1552 = function(arg0, arg1, arg2) {
|
||||
const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_46);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user