X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fruler.cpp;h=2f9b140eec8d0f9d1649155166b89f3a0638e5cd;hb=803cdac41caf71af9298e3f612468aa522a107d5;hp=bd106b974c695e19d78a7abdad3adf887ba0e1fb;hpb=e9e4e5e7ea46132262fbd53f708dafc039b3b24f;p=pulseview.git diff --git a/pv/view/ruler.cpp b/pv/view/ruler.cpp index bd106b9..2f9b140 100644 --- a/pv/view/ruler.cpp +++ b/pv/view/ruler.cpp @@ -148,7 +148,7 @@ void Ruler::paintEvent(QPaintEvent*) // Draw the items const vector< shared_ptr > items(view_.time_items()); for (auto &i : items) { - const bool highlight = !dragging_ && + const bool highlight = !item_dragging_ && i->label_rect(r).contains(mouse_point_); i->paint_label(p, r, highlight); }