More types and colors

This commit is contained in:
barsdeveloper
2024-12-04 22:55:12 +02:00
parent 365732a99c
commit 626b1eaafd
13 changed files with 73 additions and 9 deletions

View File

@@ -175,7 +175,7 @@ export default class PinEntity extends IEntity {
getType() {
const category = this.PinType.PinCategory?.toString().toLocaleLowerCase()
if (category === "struct" || category === "class" || category === "object" || category === "type") {
if (["struct", "class", "object", "type", "statictype"].includes(category)) {
return this.PinType.PinSubCategoryObject?.path
}
if (this.isEnum()) {