Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(operation_direction): adjust for layout flips
If the BSP layout was flipped on the X or Y axis (or both), OperationDirection commands would not adjust their directions accordingly and prevent the user from focusing, moving etc in a valid direction on the flipped layout. This commit addresses that bug by ensuring that we always try to apply any axis adjustments to an OperationDirection before calling the is_valid or new_idx functions.
- Loading branch information
Showing
3 changed files
with
55 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters