Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change the order of Image Types #1431

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Change the order of Image Types #1431

merged 1 commit into from
Mar 7, 2024

Conversation

Randalphwa
Copy link
Collaborator

In the Property Grid, the Image Type drop down is now:

"Embed",
"SVG"
"Art"
"XPM"

This changes the order of the drop down list of image types accessed in the PropertyGrid panel. In particular, it moves the ART type to after the SVG type. The reason for this is because we need to truncate the array when used in an Image List. Previously, this was starting with an offset of 1 in order to skip ART, but the actual drop down referenced an index of 0 which was the ART property. Since we don't allow Art images to be added to the Image List, this was breaking the property.

Closes #1430

In the Property Grid, the Image Type drop down is now:

"Embed", "SVG", "Art", "XPM"
@Randalphwa Randalphwa merged commit 4d938a1 into main Mar 7, 2024
@Randalphwa Randalphwa deleted the image_order branch March 7, 2024 13:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: With SVG set to default, you can't add png image to Image list
1 participant