You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this should fix it for single clicking. I didn't look into group selections or anything like that, but I'm not sure that's relevant with z-index issues.
It ignores rendering order in general. So all properties like show_behind_parent, top_level, y_sort_enabled are not taken into account as well. Same about containing canvas layers.
For all of them it's as trivial to create an example of "wrong selection" as for z_index.
Also note that z_index is considered separately for each rendering canvas; meaning a canvas item with greater z_index can still be drawn behind a canvas item with lower z_index (if they belong to different canvases, e.g. different CanvasLayer nodes).
Well my original problem was with TileMapLayer. I have a foreground layer and background layer and the back layer was being selected over the front one. It's rather annoying.
Tested versions
4.3
4.2.2
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
If lower node z-index wise is lower in tree, it will be selected through the top node:
Godot_v4.2.2-stable_win64_MZVOF1ZM12.mp4
Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: