mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Use canvas directly (#4780)
This commit is contained in:
@@ -5,7 +5,7 @@ use wasm_bindgen::JsValue;
|
||||
/// therefore this trait is merely there for specifying and documenting the interface.
|
||||
pub(crate) trait WebPainter {
|
||||
// Create a new web painter targeting a given canvas.
|
||||
// fn new(canvas_id: &str, options: &WebOptions) -> Result<Self, String>
|
||||
// fn new(canvas: HtmlCanvasElement, options: &WebOptions) -> Result<Self, String>
|
||||
// where
|
||||
// Self: Sized;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user