projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ViewItem: Moved bg_colour_state into ViewItemPaintParams
[pulseview.git]
/
pv
/
view
/
view.cpp
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index ab458f26bf36e981d49a1992826dbddb41e3d6e1..97a6bcf74b5bc78d7068c9d9b1615f203208b418 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-655,12
+655,6
@@
void View::restack_all_trace_tree_items()
for (auto &o : sorted_owners)
o->restack_items();
for (auto &o : sorted_owners)
o->restack_items();
- // Re-assign background colors
- bool next_bgcolour_state = false;
-
- for (auto &o : sorted_owners)
- next_bgcolour_state = o->reassign_bgcolour_states(next_bgcolour_state);
-
// Animate the items to their destination
for (const auto &i : items)
i->animate_to_layout_v_offset();
// Animate the items to their destination
for (const auto &i : items)
i->animate_to_layout_v_offset();