mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
egui_web: by default, use full web browser size (#1378)
* egui_web: by default, use full web browser size Closes https://github.com/emilk/egui/issues/1377 * Remove max_size_points from demo app
This commit is contained in:
@@ -84,10 +84,6 @@ pub use egui_web::wasm_bindgen;
|
||||
/// Install event listeners to register different input events
|
||||
/// and start running the given app.
|
||||
///
|
||||
/// For performance reasons (on some browsers) the egui canvas does not, by default,
|
||||
/// fill the whole width of the browser.
|
||||
/// This can be changed by overriding [`epi::Frame::max_size_points`].
|
||||
///
|
||||
/// ``` no_run
|
||||
/// #[cfg(target_arch = "wasm32")]
|
||||
/// use wasm_bindgen::prelude::*;
|
||||
|
||||
Reference in New Issue
Block a user