[Viewer] Viewer2D: Fix check on the image status for the color picker

This commit is contained in:
Candice Bentéjac 2023-12-20 16:54:28 +01:00
parent 17d47d2805
commit ea8fbf8b2e

View file

@ -372,7 +372,7 @@ FocusScope {
colorRGBA: { colorRGBA: {
if (!floatImageViewerLoader.item || if (!floatImageViewerLoader.item ||
floatImageViewerLoader.item.status !== Image.Ready) { floatImageViewerLoader.item.imageStatus !== Image.Ready) {
return null return null
} }
if (floatImageViewerLoader.item.containsMouse === false) { if (floatImageViewerLoader.item.containsMouse === false) {