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

edit mode: dim M when metro inactive, fix out of bounds array access #191

Merged
merged 3 commits into from Dec 7, 2019

Conversation

@csboling
Copy link
Collaborator

@csboling csboling commented Dec 7, 2019

What does this PR do?

When M.ACT is 0, dim the M in the line editor prompt on the metro script, to match muted scripts. Also fix an out-of-bounds array access that I don't think was causing any trouble but could make this feature behave incorrectly when new members are added to scene_variables_t in the future.

Provide links to any related discussion on lines.

https://llllllll.co/t/teletype-3-feature-requests-and-discussion/16219/408?u=csboling

How should this be manually tested?

While editing the metro script, use CTRL+F9 to toggle the metro on and off, and see the M dim to match the brightness of muted scripts. The same behavior is seen when running M.ACT FLIP manually.

Any background context you want to provide?

If the related Github issues aren't referenced in your commits, please link to them here.

I have,

  • updated CHANGELOG.md
  • updated the documentation
  • run make format on each commit
@tehn tehn merged commit 9e030c5 into monome:master Dec 7, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants