diff --git a/src/Qt-Color-Widgets/src/color_wheel.cpp b/src/Qt-Color-Widgets/src/color_wheel.cpp index a049d29e..981e83c3 100644 --- a/src/Qt-Color-Widgets/src/color_wheel.cpp +++ b/src/Qt-Color-Widgets/src/color_wheel.cpp @@ -351,7 +351,9 @@ void ColorWheel::paintEvent(QPaintEvent * ) painter.setClipping(false); // lum-sat selector - bool isWhite = (p->val < 0.65 || p->sat > 0.43); //0.62 || p->sat > 0.43 + // isWhite defines when the selector is white based on values of saturation + // and color value combined as a union + bool isWhite = (p->val < 0.65 || p->sat > 0.43); painter.setPen(QPen(isWhite ? Qt::white : Qt::black, 3)); painter.setBrush(Qt::NoBrush); painter.drawEllipse(selector_position, selector_radius, selector_radius); diff --git a/src/capture/capturewidget.cpp b/src/capture/capturewidget.cpp index c9b263bd..3841ceb2 100644 --- a/src/capture/capturewidget.cpp +++ b/src/capture/capturewidget.cpp @@ -78,7 +78,9 @@ CaptureWidget::CaptureWidget(QWidget *parent) : m_buttonHandler->hide(); // init screenshot createCapture(); - resize(m_screenshot->getScreenshot().size()); + QSize size = m_screenshot->getScreenshot().size(); + // we need to increase by 1 the size to reach to the end of the screen + resize(size.width()+1, size.height()+1); // init interface color QSettings settings; m_uiColor = settings.value("uiColor").value();