projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ViewWidget: Added drag-handling support for non-TraceTreeItems
[pulseview.git]
/
pv
/
view
/
ruler.cpp
diff --git
a/pv/view/ruler.cpp
b/pv/view/ruler.cpp
index ab08a32011cdef2aad64f62cb8e2d4aaa8fdb14b..393af57711c699732c84cfd05c1ee9933dff0f6d 100644
(file)
--- a/
pv/view/ruler.cpp
+++ b/
pv/view/ruler.cpp
@@
-138,12
+138,12
@@
void Ruler::paintEvent(QPaintEvent*)
this->view_.tick_precision());
};
this->view_.tick_precision());
};
- tick_position_cache_
.emplace(
calculate_tick_positions(
+ tick_position_cache_
=
calculate_tick_positions(
view_.tick_period(),
view_.offset(),
view_.scale(),
width(),
view_.tick_period(),
view_.offset(),
view_.scale(),
width(),
- ffunc)
)
;
+ ffunc);
}
const int ValueMargin = 3;
}
const int ValueMargin = 3;