]> sigrok.org Git - pulseview.git/blobdiff - pv/view/viewitempaintparams.hpp
ViewItemPaintParams: Fixed height()
[pulseview.git] / pv / view / viewitempaintparams.hpp
index a8b519067250976ff0990a510d93a5f2bca6df72..73551e6d7f67b7f85cc4c893bb2f8923d8ce6fa1 100644 (file)
@@ -64,7 +64,7 @@ public:
        }
 
        int height() const {
-               return rect_.width();
+               return rect_.height();
        }
 
        double pixels_offset() const {