Store manual chunk level.

This commit is contained in:
Bartosz Taudul
2025-11-30 21:54:19 +01:00
parent eec5444d84
commit 8c8cb8899f
2 changed files with 3 additions and 1 deletions

View File

@@ -100,7 +100,8 @@ void TracyManualData::AddManualChunk( const std::string_view& manual, int start,
.text = std::move( text ),
.section = std::move( section ),
.title = std::move( title ),
.parents = std::move( parents )
.parents = std::move( parents ),
.level = (int)levels.size() - 1
} );
}
}

View File

@@ -18,6 +18,7 @@ public:
std::string section;
std::string title;
std::string parents;
int level;
};
TracyManualData();