[Panorama Viewer] Disable color picker inside HdrToolbar for Panorama

We cannot retrieve mouse coordinates of images inside the panorama due to a conflict between mouse areas.
This commit is contained in:
Thomas Zorroche 2021-06-15 10:00:09 +02:00 committed by Fabien Castan
parent 6534fc1191
commit 4a7912c0ff
2 changed files with 8 additions and 0 deletions

View file

@ -191,6 +191,10 @@ FocusScope {
onVisibleChanged: {
resetDefaultValues();
}
colorPickerVisible: {
return !displayPanoramaViewer.checked
}
colorRGBA: {
if(!floatImageViewerLoader.item ||
floatImageViewerLoader.item.status !== Image.Ready)