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

Implement Go To Source for trigger actions #191

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

Shushishtok
Copy link
Contributor

Adds a button that shows up below the parameters when a parameter references one of the following:

  • Trigger (e.g. Enable Trigger/Disable Trigger)
  • Team Type (e.g. Reinforcements)
  • Waypoint (e.g. Reveal Around Waypoint)

When clicked, the button focuses on the respective parameter's value, selecting it or centering around it.

src/TSMapEditor/Config/UI/Windows/TriggersWindow.ini Outdated Show resolved Hide resolved
src/TSMapEditor/UI/Windows/TriggersWindow.cs Outdated Show resolved Hide resolved
src/TSMapEditor/UI/Windows/TriggersWindow.cs Outdated Show resolved Hide resolved
src/TSMapEditor/UI/Windows/TriggersWindow.cs Outdated Show resolved Hide resolved
src/TSMapEditor/UI/Windows/TriggersWindow.cs Outdated Show resolved Hide resolved
src/TSMapEditor/UI/Windows/TriggersWindow.cs Outdated Show resolved Hide resolved
src/TSMapEditor/UI/Windows/TriggersWindow.cs Outdated Show resolved Hide resolved
src/TSMapEditor/UI/Windows/TriggersWindow.cs Outdated Show resolved Hide resolved
Copy link
Member

@Rampastring Rampastring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple more minor things to fix.

src/TSMapEditor/UI/Windows/TriggersWindow.cs Outdated Show resolved Hide resolved
src/TSMapEditor/UI/Windows/TriggersWindow.cs Outdated Show resolved Hide resolved
@Rampastring Rampastring merged commit 77158f1 into CnCNet:master Sep 12, 2024
1 check passed
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.

2 participants