mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 09:58:12 +08:00
Add tooltip documentation to the Text node and tidy up node catalog categorization (#3645)
* Add more node doc comments * Tidy up node categories
This commit is contained in:
@@ -29,7 +29,7 @@ use web_sys::{CanvasRenderingContext2d, HtmlCanvasElement};
|
||||
|
||||
/// Allocates GPU memory and a rendering context for vector-to-raster conversion.
|
||||
#[cfg(feature = "wgpu")]
|
||||
#[node_macro::node(category("Debug: GPU"))]
|
||||
#[node_macro::node(category(""))]
|
||||
async fn create_surface<'a: 'n>(_: impl Ctx, editor: &'a WasmEditorApi) -> Arc<WasmSurfaceHandle> {
|
||||
Arc::new(editor.application_io.as_ref().unwrap().create_window())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user