Skip to content

Modify how narrator names the first and last bits of a number in Bit Flip#675

Merged
joseartrivera merged 3 commits intomicrosoft:masterfrom
rudyhuyn:Fix385
Sep 27, 2019
Merged

Modify how narrator names the first and last bits of a number in Bit Flip#675
joseartrivera merged 3 commits intomicrosoft:masterfrom
rudyhuyn:Fix385

Conversation

@rudyhuyn
Copy link
Copy Markdown
Contributor

@rudyhuyn rudyhuyn commented Sep 18, 2019

Fixes #385

Description of the changes:

  • replace "0th bit" by "least significant bit"
  • add support of "most significant bit" and update texts when BitLength changes.
    • Note: to keep CPU usage low, we only update texts of the previous checkbox associated to the MSB and the new one.

How changes were validated:

  • Manually

@rudyhuyn
Copy link
Copy Markdown
Contributor Author

(Let me know if you also want to use "most significant bit")

@grochocki
Copy link
Copy Markdown
Contributor

If it is not too much trouble :)

@rudyhuyn
Copy link
Copy Markdown
Contributor Author

rudyhuyn commented Sep 18, 2019

If it is not too much trouble :)

Will do it! It's a little more complicated than LSB (but still simple) because we need to update the text of the checkbox associated to the previous MSB + the new one when we change the bit length.

@rudyhuyn rudyhuyn changed the title Modify how narrator names the first bit of a number in Bit Flip Modify how narrator names the first and last bits of a number in Bit Flip Sep 18, 2019
@HowardWolosky HowardWolosky added the Bug Issue is a bug label Sep 19, 2019
Copy link
Copy Markdown
Contributor

@joseartrivera joseartrivera left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! I tested it out and reviewed the code. Everything seems good. Left a comment about an issue that may or may not be related to this PR. Let me know what you think.

@joseartrivera joseartrivera merged commit 5c07857 into microsoft:master Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Narrator reads information of "0th" bit button incorrectly

4 participants