I am trying to enlarge an item in the target group but it is scaling behind the next item in the TargetGroup. How can I control this?
Can you just switch the order of the elements in your group? The last child element will appear on top of previous elements.
I don’t think you understand how the TargetList/TargetGroup work. I can’t change the order of the content. Each item can get updated as they come into focus which is where I scale the item/group. I think the issue is that each of the items in the TargetGroup is rendered in order which means that the focused item is rendered and scaled larger. Then the next item in the TargetGroup is rendered on top of the focused item.
I guess I don’t. You’ve just described exactly how z-index rendering works. later elements are rendered on top of earlier ones. Good luck.
Maybe you can do a hack like render a copy of the focused rect after rendering the targetlist. but what do i know.
Yeah I thought about that but I decided to go with an approach where the items will not overlap when scaled up.
