forked from ShadowTheAge/yafc
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The idea was to make this part of code more readable. For this, the following steps were taken: 1. Split booleans into one equality or expression per boolean. 2. Explain with local names what the boolean conditions check. 3. Put on-select actions as a local function too. 4. Align parameters Google-style. QA: tested on a pY project that the corresponding window selects and deselects things as usual.
- Loading branch information
Showing
1 changed file
with
19 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