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:
Keavon Chambers
2026-01-16 01:27:56 -08:00
committed by GitHub
parent c13647aef4
commit 3b55064f44
10 changed files with 40 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ impl From<std::io::Error> for Error {
}
}
#[node_macro::node(category("Debug: Raster"))]
#[node_macro::node(category("Debug"))]
pub fn sample_image(ctx: impl ExtractFootprint + Clone + Send, image_frame: Table<Raster<CPU>>) -> Table<Raster<CPU>> {
image_frame
.into_iter()
@@ -279,7 +279,7 @@ pub fn extend_image_to_bounds(_: impl Ctx, image: Table<Raster<CPU>>, bounds: DA
.collect()
}
#[node_macro::node(category("Debug: Raster"))]
#[node_macro::node(category("Debug"))]
pub fn empty_image(_: impl Ctx, transform: DAffine2, color: Table<Color>) -> Table<Raster<CPU>> {
let width = transform.transform_vector2(DVec2::new(1., 0.)).length() as u32;
let height = transform.transform_vector2(DVec2::new(0., 1.)).length() as u32;