From bd568ab95735b08d66dde8734d482e5daba26584 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Mon, 20 Aug 2018 21:32:16 +0200 Subject: [PATCH] Prevent flashing background color of the preview when adding nodes to a curve using on-canvas picker, fixes #4743 --- rtgui/cropwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/cropwindow.cc b/rtgui/cropwindow.cc index 77118277c..3865591ce 100644 --- a/rtgui/cropwindow.cc +++ b/rtgui/cropwindow.cc @@ -1379,7 +1379,7 @@ void CropWindow::expose (Cairo::RefPtr cr) break; } } - bool useBgColor = (state == SNormal); + bool useBgColor = (state == SNormal || state == SDragPicker || state == SDeletePicker); if (cropHandler.cropPixbuf) { imgW = cropHandler.cropPixbuf->get_width ();