Commit e9a56b1
committed
Rename Button.check_buttons to buttons_pressed, get rid of Button.which
I had to look at the implementation of `which` to understand what was
the purpose of the method, which is a bad sign. I think
`buttons_pressed` is a better name for that. Also, no need to keep both
`check_buttons` and `which`.1 parent 09e612e commit e9a56b1
2 files changed
+11
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1752 | 1752 | | |
1753 | 1753 | | |
1754 | 1754 | | |
1755 | | - | |
| 1755 | + | |
| 1756 | + | |
1756 | 1757 | | |
1757 | 1758 | | |
1758 | 1759 | | |
| |||
1764 | 1765 | | |
1765 | 1766 | | |
1766 | 1767 | | |
1767 | | - | |
1768 | | - | |
1769 | | - | |
1770 | | - | |
1771 | | - | |
| 1768 | + | |
1772 | 1769 | | |
1773 | 1770 | | |
1774 | 1771 | | |
1775 | 1772 | | |
1776 | | - | |
| 1773 | + | |
1777 | 1774 | | |
1778 | 1775 | | |
1779 | 1776 | | |
| |||
1794 | 1791 | | |
1795 | 1792 | | |
1796 | 1793 | | |
1797 | | - | |
| 1794 | + | |
1798 | 1795 | | |
1799 | 1796 | | |
1800 | 1797 | | |
1801 | | - | |
| 1798 | + | |
1802 | 1799 | | |
1803 | 1800 | | |
1804 | 1801 | | |
1805 | | - | |
| 1802 | + | |
1806 | 1803 | | |
1807 | 1804 | | |
1808 | 1805 | | |
1809 | | - | |
| 1806 | + | |
1810 | 1807 | | |
1811 | 1808 | | |
1812 | 1809 | | |
1813 | | - | |
| 1810 | + | |
1814 | 1811 | | |
1815 | 1812 | | |
1816 | 1813 | | |
1817 | | - | |
| 1814 | + | |
1818 | 1815 | | |
1819 | 1816 | | |
1820 | 1817 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
0 commit comments