Open LuniMoon opened 9 months ago
We should probably add a checkbox like in the instance editor (unchecked by default).
hasCustomSize
which is set to false
on new objects and default to true
for compatibilityWhy do you suggest a checkbox instead of always giving the file resource size?
Otherwise, when the image resource is replaced the UI don't know if the dimensions should be kept or updated to the new image size. It would be odd to only change the dimensions for the 1st image of the 1st edition (especially if a user close the editor to add an image later)
Is there an existing issue for this?
Describe the bug
During the internal test of the Asset Export build with @Bouh, we noticed a quick win on the app to improve UX:
While adding a local file to the Object list (tiled sprite and 9 patch), the engine always displays a value of 32x32
Since Bouh was exporting adding a certain amount of tiles and 9 patch objects, he had to change these values by hand to reflect the real size of the resource:
Quick win:
When a user adds a resource, the system displays the real size of the file. For tiles might be a little tricky (D8H was concerned about negatively impacting the graphics editor). Maybe some exploration will be needed for tiles.
Steps to reproduce
N/A
GDevelop platform
Desktop, Web, Mobile
GDevelop version
5.3.181
Platform info
Additional context
No response