mapeditor / tiled

Flexible level editor
https://www.mapeditor.org/
Other
11.18k stars 1.76k forks source link

Use the object color on the icon in the Objects view #2861

Open bjorn opened 4 years ago

bjorn commented 4 years ago

To quote eishiya from the Tiled forum:

Show the object’s colour in the Objects list, instead of showing the default blue colour. I have objects with similar names, and colours (corresponding to object type) help in distinguishing them.

A nice idea for making the objects more recognizable, but it does require rendering those icons dynamically, or avoiding the creation of an icon completely by using a custom delegate. Maybe we can even make those icons miniatures of the actual shape of each object.

Arlorean commented 2 years ago

If you do manage to color the object icons dynamically the same would be useful for the layer icons where there is a color set.