stbtt text testing succesful
This commit is contained in:
@@ -266,10 +266,10 @@ bool LayoutManager::load(const char* path)
|
||||
}
|
||||
printf("Parsing layout: %s\n", id_str);
|
||||
uint16_t id = const_hash(id_str);
|
||||
auto& p = m_layouts.try_emplace(id);
|
||||
if (p.second)
|
||||
auto p = m_layouts.find(id);
|
||||
if (p == m_layouts.end())
|
||||
{
|
||||
auto& node = p.first->second;
|
||||
auto& node = m_layouts[id];
|
||||
node.m_manager = this;
|
||||
// try to copy the old size values
|
||||
if (old.count(id))
|
||||
|
||||
Reference in New Issue
Block a user