Add "space-location" to the 'choose-elem-button' properties in the .add() function in LuaGuiElement

Galdoc
Long Handed Inserter
Long Handed Inserter
Posts: 53
Joined: Wed May 11, 2016 9:43 pm
Contact:

Add "space-location" to the 'choose-elem-button' properties in the .add() function in LuaGuiElement

Post by Galdoc »

Under the properties for the .add() method of a LuaGuiElement, when type = 'choose-elem-button`, there should be mention of a property of "space-location", because otherwise buttons that use the elem_type of "space_location" won't be able to display on the button the icon for said location.

https://lua-api.factorio.com/latest/cla ... t.html#add

Side note -- It'd be cool if the fanned out property fields for the various GUI elements in the .add() function's documentation had little linky-doo buttons too. :)
User avatar
Therenas
Factorio Staff
Factorio Staff
Posts: 325
Joined: Tue Dec 11, 2018 2:10 pm
Contact:

Re: Add "space-location" to the 'choose-elem-button' properties in the .add() function in LuaGuiElement

Post by Therenas »

Rsed already added these, appreciate the report anyways!
Post Reply

Return to “Resolved Requests”