Fix 'Mask' node missing Properties widget; fix crash with 'Brightness/Contrast Classic' node (#3404)

* Fix 'Mask' node missing Properties widget; fix crash with 'Brightness/Contrast Classic' node

Also clean up dead code and improve tooltip for the "-" Properties panel widget fallback.

* format type

---------

Co-authored-by: Adam <adamgerhant@gmail.com>
This commit is contained in:
Keavon Chambers
2025-11-24 01:21:07 -08:00
committed by GitHub
parent 7afbeaa1f9
commit 6e66c79392
5 changed files with 20 additions and 76 deletions

View File

@@ -354,7 +354,7 @@ impl Type {
}
}
fn format_type(ty: &str) -> String {
pub fn format_type(ty: &str) -> String {
ty.split('<')
.map(|path| path.split(',').map(|path| path.split("::").last().unwrap_or(path)).collect::<Vec<_>>().join(","))
.collect::<Vec<_>>()