mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
SpaceAnalyzer: Fix rendering bug when dealing with large file systems
This commit is contained in:
parent
c569ed7e8b
commit
5f53dc6a45
3 changed files with 18 additions and 18 deletions
|
@ -33,7 +33,7 @@ struct TreeNode : public SpaceAnalyzer::TreeMapNode {
|
|||
: m_name(move(name)) {};
|
||||
|
||||
virtual String name() const { return m_name; }
|
||||
virtual int64_t area() const { return m_area; }
|
||||
virtual i64 area() const { return m_area; }
|
||||
virtual size_t num_children() const
|
||||
{
|
||||
if (m_children) {
|
||||
|
@ -51,7 +51,7 @@ struct TreeNode : public SpaceAnalyzer::TreeMapNode {
|
|||
}
|
||||
|
||||
String m_name;
|
||||
int64_t m_area { 0 };
|
||||
i64 m_area { 0 };
|
||||
OwnPtr<Vector<TreeNode>> m_children;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue