Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/widgets/kis_scratch_pad.cpp
Context not available. | |||||
257 | void KisScratchPad::pick(KoPointerEvent *event) | 257 | void KisScratchPad::pick(KoPointerEvent *event) | ||
---|---|---|---|---|---|
258 | { | 258 | { | ||
259 | KoColor color; | 259 | KoColor color; | ||
260 | if (KisToolUtils::pickColor(color, m_paintLayer->projection(), event->point.toPoint())) { | 260 | if (KisPickerUtils::pickColor(color, m_paintLayer->projection(), nullptr, event->point.toPoint())) { | ||
261 | emit colorSelected(color); | 261 | emit colorSelected(color); | ||
262 | } | 262 | } | ||
263 | } | 263 | } | ||
Context not available. |