fix: Bookmarks not always creating new highlights correctly
This commit is contained in:
parent
35a520f132
commit
4b6a76bf02
@ -49,7 +49,9 @@ namespace hex {
|
||||
|
||||
u32 addHighlight(const Region ®ion, color_t color, const std::string &tooltip) {
|
||||
auto &highlights = impl::getHighlights();
|
||||
auto id = highlights.size();
|
||||
static u64 id = 0;
|
||||
|
||||
id++;
|
||||
|
||||
highlights.insert({
|
||||
id, Highlighting {region, color, tooltip}
|
||||
|
Loading…
x
Reference in New Issue
Block a user