When creating a highlight box, setting it's target to a curved rail will give it an incorrectly sized bounding box.
Reproduce: Hover over a curved rail and use the command below.
/c game.surfaces[1].create_entity{name = "highlight-box", position = {x=0,y=0}, target = game.player.selected}
[1.1.59] highlight-box with curved-rail target has incorrect bounding box
- _CodeGreen
- Long Handed Inserter
- Posts: 72
- Joined: Sat Mar 05, 2022 11:30 am
- Contact:
[1.1.59] highlight-box with curved-rail target has incorrect bounding box
My Mods | If you can't make it perfect, make it adjustable
Re: [1.1.59] highlight-box with curved-rail target has incorrect bounding box
This is a wont fix.
- _CodeGreen
- Long Handed Inserter
- Posts: 72
- Joined: Sat Mar 05, 2022 11:30 am
- Contact:
Re: [1.1.59] highlight-box with curved-rail target has incorrect bounding box
I'm curious as to the reason why, is it non-trivial or just not worth the time? I understand either way.
My Mods | If you can't make it perfect, make it adjustable
Re: [1.1.59] highlight-box with curved-rail target has incorrect bounding box
Fine, i reevaluated how hard it is to fix this issue so it is now fixed for 1.1.61.