mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[Panorama Viewer] fix hightlight z order bug
This commit is contained in:
parent
f8a1e006dc
commit
e432a1b774
1 changed files with 3 additions and 3 deletions
|
@ -123,13 +123,13 @@ AliceVision.PanoramaViewer {
|
|||
repeater.itemAt(i).z = highlight ? 2 : 0
|
||||
if (highlight)
|
||||
{
|
||||
// Disable Highlight for all images next to the highlight one
|
||||
for (let j = i + 1; j < repeater.model; j++)
|
||||
// Disable Highlight for all other images
|
||||
for (let j = 0; j < repeater.model; j++)
|
||||
{
|
||||
if (j === i) continue;
|
||||
repeater.itemAt(j).item.mouseOver(false);
|
||||
repeater.itemAt(i).z = 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue