Fixing issue #3496 (again)

This commit is contained in:
Hombre
2016-11-10 01:35:49 +01:00
parent 2fcc5b75c8
commit 4c26501fd2

View File

@@ -283,7 +283,7 @@ void ThresholdSelector::updateBackBuffer()
if (is_sensitive() && coloredBar.canGetColors()) {
// this will eventually create/update the off-screen Surface for the gradient area only !
coloredBar.setDrawRectangle(Cairo::FORMAT_ARGB32, hb + hwslider, int(float(h) * 1.5f / 7.f + 0.5f), iw + 1, int(float(h) * 4.f / 7.f + 0.5f));
coloredBar.setDrawRectangle(hb + hwslider, int(float(h) * 1.5f / 7.f + 0.5f), iw + 1, int(float(h) * 4.f / 7.f + 0.5f));
// that we're displaying here
coloredBar.expose(*this, cr);
} else {