projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
698568b
)
View: Use list_by_type to get TraceTreeItems
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 16 Aug 2015 16:09:47 +0000
(10:09 -0600)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 18 Oct 2015 21:32:28 +0000
(15:32 -0600)
pv/view/view.cpp
patch
|
blob
|
history
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index c0b3e251d964c5266d500db962ac2ebbc764b188..3f0fe9d1dc9991febf113d45f02f5dc6189c0ace 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-518,8
+518,10
@@
void View::restack_all_trace_tree_items()
o->restack_items();
// Animate the items to their destination
- for (const auto &r : *this)
- r->animate_to_layout_v_offset();
+ const vector< shared_ptr<TraceTreeItem> > items(
+ list_by_type<TraceTreeItem>());
+ for (const auto &i : items)
+ i->animate_to_layout_v_offset();
}
void View::get_scroll_layout(double &length, Timestamp &offset) const