Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

More options for 'Class of' property in Custom Types Editor #3951

Open
ChristianPervoelz opened this issue May 24, 2024 · 0 comments
Open

More options for 'Class of' property in Custom Types Editor #3951

ChristianPervoelz opened this issue May 24, 2024 · 0 comments
Labels
feature It's a feature, not a bug.

Comments

@ChristianPervoelz
Copy link
Contributor

Is your feature request related to a problem? Please describe.
It's not really a problem, but...

My (Tiled) project currently has about 100 custom classes for layers only, where half of them is for tile layers and the other half for object layers. All these classes have 'Class of' set to 'Layer'.

Now, I add a new layer (tile or object) and set the class for it. The drop down list is (of course) really, really long, but half of the items in that list is not applicable, as they are not dedicated to be used for the specific layer type.

Describe the solution you'd like
It would be great to replace the 'Layer' item in the 'Class of' selector of the custom type editor by four different values (one for each layer type).

Describe alternatives you've considered
My current approach is to use a prefix for the layers (e.g. PropertiesLayer_A, TileLayer_A, PropertiesLayer_B, TileLayer_B, ...)

@ChristianPervoelz ChristianPervoelz added the feature It's a feature, not a bug. label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature It's a feature, not a bug.
Projects
None yet
Development

No branches or pull requests

1 participant