NEW:add paint tool in assembly view

Change-Id: I108e1e24ca9d033d2279c8153585166971a347a6
This commit is contained in:
liz.li authored and Lane.Wei committed 2023-07-07 17:25:51 +08:00
1 parent 5236f17792
commit ab0c6611c8
13 files changed
+265 -108

No files matched your search

+4 -3
View File
@@ -479,10 +479,11 @@ public:
assert(! m_history.empty());
auto it = std::lower_bound(m_history.begin(), m_history.end(), MutableHistoryInterval(timestamp, timestamp));
if (it == m_history.end() || it->begin() > timestamp) {
assert(it != m_history.begin());
-- it;
//assert(it != m_history.begin());
if (it != m_history.begin())
--it;
}
assert(timestamp >= it->begin() && timestamp < it->end());
//assert(timestamp >= it->begin() && timestamp < it->end());
return std::string(it->data(), it->data() + it->size());
}