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

Scripting: Added Tool.targetLayerType #3591

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Feb 28, 2023

This new property specifies the target layer type for which this tool should be enabled, providing a convenient alternative to implementing Tool.updateEnabledState.

Closes #3248

This new property specifies the target layer type for which this tool
should be enabled, providing a convenient alternative to implementing
Tool.updateEnabledState.

Closes mapeditor#3248
@bjorn bjorn merged commit afe4758 into mapeditor:master Feb 28, 2023
@bjorn bjorn deleted the scripted-tool-state branch February 28, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scripting: Allow specifying layer types for which a Tool should be enabled
1 participant