patterns: Fixed various render issues

This commit is contained in:
WerWolv
2022-04-07 12:47:45 +02:00
parent 0462cc3d0c
commit 76f732dc53
8 changed files with 79 additions and 77 deletions

View File

@@ -77,7 +77,7 @@ namespace hex::pl {
[[nodiscard]] const std::optional<std::string> &getComment() const { return this->m_comment; }
void setComment(std::string comment) { this->m_comment = std::move(comment); }
[[nodiscard]] const std::string &getTypeName() const { return this->m_typeName; }
[[nodiscard]] virtual std::string getTypeName() const { return this->m_typeName; }
void setTypeName(std::string name) { this->m_typeName = std::move(name); }
[[nodiscard]] u32 getColor() const { return this->m_color; }