Page 1 of 1

[2.0.8] rendering.draw_line returned LuaRenderObject lacks property 'dash_offset'

Posted: Mon Oct 21, 2024 7:55 pm
by Riven8192
Minor missing feature:


The property 'dash_offset' can be passed to the draw-line call:
https://lua-api.factorio.com/2.0.8/clas ... #draw_line

The property 'dash_offset' is missing in the resulting LuaRenderObject:
https://lua-api.factorio.com/2.0.8/clas ... bject.html


Manipulating the dash_offset is (presumably) cheaper than destroying the existing line and creating a new one in its place.