[ui nodes] ColorChecker: fix refactor and documentation

This commit is contained in:
ludchieng 2021-02-27 18:09:40 +01:00 committed by Fabien Castan
parent e3f685ff08
commit 4f52fad68f
5 changed files with 25 additions and 7 deletions

View file

@ -360,7 +360,7 @@ FocusScope {
zoom: imgContainer.scale
updatePane: function() {
colorCheckerPane.colors = ccheckers[selectedCChecker].colors
colorCheckerPane.colors = (ccheckers[selectedCChecker].colors) ? ccheckers[selectedCChecker].colors : null
}
}
}
@ -435,7 +435,7 @@ FocusScope {
top: parent.top
right: parent.right
}
visible: displayColorCheckerViewerLoader.checked
visible: displayColorCheckerViewerLoader.checked && colorCheckerPane.colors !== null
}
Loader {