[Panorama Viewer] fix highlight bug

This commit is contained in:
Thomas Zorroche 2021-03-25 22:10:14 +01:00 committed by Fabien Castan
parent b36f5f3f8e
commit 9d0c4617c6

View file

@ -173,24 +173,9 @@ AliceVision.FloatImageViewer {
}
function onChangedHighlightState(isHighlightable){
if(isHighlightable) root.mouseOver(false)
else root.mouseOver(true)
if (!isHighlightable) root.mouseOver(false)
}
/*
* Target Rectangle For Mouse Area Highlight
*/
Item {
id: containerMouseAreaPano
Rectangle {
id: rectPano
x: 0
y: 0
width: 0
height: 0
visible: false;
}
}
/*
* Principal Point