UI: Remove bit shift dropdown
Currently, the bitwise shift button opens a dropdown menu to specify the shift amount. This dropdown should be removed for the following reasons:
- When shift amount is a single digit, it doesn't save any keystrokes/mouse presses (when compared to pressing one >> button, and then entering the shift amount manually).
- When shift amount is 2 digits, it only saves one keystroke/mouse press.
- If you wish to enter a shift amt greater than 15, you must break out a keyboard to delete the autofilled shift amount (since the calculator's delete key seems to delete the entire expression)
- It only offers shift amounts of 1-15 despite the actual shift operator >> allowing for any shift amount (correct me if I'm wrong)
- The tall dropdown is an eyesore.
The behavior I would prefer would be that the << and >> operator buttons work the same way that other operator buttons (+, _ *, /, etc.) work: Press it once and the operator is entered into the input field. Like all other operators, it is up to the user to specify all operands.
The proposed change offers the following benefits:
- << and >> are more consistent with all other operators
- Mouse/touch users don't need to switch to a keyboard for certain inputs
I'm open to a discussion about improvements to this portion of the UI!