data: Updated color schemes to new node type names
This commit is contained in:
@@ -232,9 +232,9 @@
|
||||
<normal>#FFFFFF</normal>
|
||||
</icon>
|
||||
</type>
|
||||
<builtin_type>
|
||||
<built_in_type>
|
||||
<like>type</like>
|
||||
</builtin_type>
|
||||
</built_in_type>
|
||||
<class>
|
||||
<like>type</like>
|
||||
</class>
|
||||
@@ -294,9 +294,9 @@
|
||||
<like>global_variable</like>
|
||||
</enum_constant>
|
||||
|
||||
<undefined>
|
||||
<non-indexed>
|
||||
<like>type</like>
|
||||
</undefined>
|
||||
</non-indexed>
|
||||
<namespace>
|
||||
<fill>
|
||||
<normal>#873E3E</normal>
|
||||
|
||||
@@ -224,9 +224,9 @@
|
||||
<focus>#3C3C3C</focus>
|
||||
</border>
|
||||
</type>
|
||||
<builtin_type>
|
||||
<built_in_type>
|
||||
<like>type</like>
|
||||
</builtin_type>
|
||||
</built_in_type>
|
||||
<class>
|
||||
<like>type</like>
|
||||
</class>
|
||||
@@ -280,9 +280,9 @@
|
||||
<like>global_variable</like>
|
||||
</enum_constant>
|
||||
|
||||
<undefined>
|
||||
<non_indexed>
|
||||
<like>type</like>
|
||||
</undefined>
|
||||
</non_indexed>
|
||||
<namespace>
|
||||
<fill>
|
||||
<normal>#EFC5C5</normal>
|
||||
|
||||
@@ -227,9 +227,9 @@
|
||||
<focus>#C3C3C3</focus>
|
||||
</border>
|
||||
</type>
|
||||
<builtin_type>
|
||||
<built_in_type>
|
||||
<like>type</like>
|
||||
</builtin_type>
|
||||
</built_in_type>
|
||||
<class>
|
||||
<like>type</like>
|
||||
</class>
|
||||
@@ -283,9 +283,9 @@
|
||||
<like>global_variable</like>>
|
||||
</enum_constant>
|
||||
|
||||
<undefined>
|
||||
<non-indexed>
|
||||
<like>type</like>
|
||||
</undefined>
|
||||
</non-indexed>
|
||||
<namespace>
|
||||
<fill>
|
||||
<normal>#78282D</normal>
|
||||
|
||||
@@ -835,19 +835,23 @@ std::shared_ptr<Graph> PersistentStorage::getGraphForActiveTokenIds(const std::v
|
||||
{
|
||||
nodeIds.push_back(node.id);
|
||||
}
|
||||
for (const StorageFile& file : m_sqliteStorage.getAllByIds<StorageFile>(ids))
|
||||
{
|
||||
nodeIds.push_back(file.id);
|
||||
}
|
||||
|
||||
if (nodeIds.size() != ids.size())
|
||||
if (!isNamespace)
|
||||
{
|
||||
std::vector<StorageEdge> edges = m_sqliteStorage.getAllByIds<StorageEdge>(ids);
|
||||
for (const StorageEdge& edge : edges)
|
||||
for (const StorageFile& file : m_sqliteStorage.getAllByIds<StorageFile>(ids))
|
||||
{
|
||||
if (edge.id > 0)
|
||||
nodeIds.push_back(file.id);
|
||||
}
|
||||
|
||||
if (nodeIds.size() != ids.size())
|
||||
{
|
||||
std::vector<StorageEdge> edges = m_sqliteStorage.getAllByIds<StorageEdge>(ids);
|
||||
for (const StorageEdge& edge : edges)
|
||||
{
|
||||
edgeIds.push_back(edge.id);
|
||||
if (edge.id > 0)
|
||||
{
|
||||
edgeIds.push_back(edge.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user