From: Joel Holdsworth Date: Sun, 28 Dec 2014 18:52:50 +0000 (+0000) Subject: ViewItemPaintParams: Fixed height() X-Git-Tag: pulseview-0.3.0~351 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=0f95449910ba4022c2f14196163e77cff9620987 ViewItemPaintParams: Fixed height() --- diff --git a/pv/view/viewitempaintparams.hpp b/pv/view/viewitempaintparams.hpp index a8b51906..73551e6d 100644 --- a/pv/view/viewitempaintparams.hpp +++ b/pv/view/viewitempaintparams.hpp @@ -64,7 +64,7 @@ public: } int height() const { - return rect_.width(); + return rect_.height(); } double pixels_offset() const {