diff options
Diffstat (limited to 'NxWidgets/libnxwidgets')
-rw-r--r-- | NxWidgets/libnxwidgets/src/cglyphsliderhorizontal.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NxWidgets/libnxwidgets/src/cglyphsliderhorizontal.cxx b/NxWidgets/libnxwidgets/src/cglyphsliderhorizontal.cxx index 97d8d01ad..93984e1bc 100644 --- a/NxWidgets/libnxwidgets/src/cglyphsliderhorizontal.cxx +++ b/NxWidgets/libnxwidgets/src/cglyphsliderhorizontal.cxx @@ -331,7 +331,7 @@ void CGlyphSliderHorizontal::drawContents(CGraphicsPort * port) if (m_grip->getX() > halfGripWidth) port->drawFilledRect(getX() + 1 + halfGripWidth, getY() + halfHeight - halfBar + 1, - m_grip->getX() - halfGripWidth, m_barThickness - 2, + m_grip->getX() - getX() - halfGripWidth, m_barThickness - 2, color); // Fill in bar the area to the right of the grip |