StevePaget / Pygame_Functions

A set of functions that make working with Pygame and Python much easier.
GNU General Public License v2.0
179 stars 87 forks source link

makeTextBox 'case' not working #14

Open rogeriodec opened 6 years ago

rogeriodec commented 6 years ago

Unlike what was shown in the video https://www.youtube.com/watch?v=G933SOLWbbg&list=PLeOSHd3t9lzKr4O3A3Q7OZyf8QwyCALyn&index=4, case 1 or 2 does not currently change anything.

StevePaget commented 6 years ago

This should now be fixed. thanks for spotting it.

rogeriodec commented 6 years ago

Thanks, but just option 2 (uppercase) is working. Option 1 (lowercase) is not...

StevePaget commented 6 years ago

Ah! You've uncovered something interesting. It was only working if you used the left hand Shift key. I wasn't aware that Pygame treated the two Shift keys separately. Fixed now.

It still doesn't work with Capslock. I'll have a look at that later.

rogeriodec commented 6 years ago

I don't know, it might be so simple, just convert the result to uppercase or lowercase... but I don't know Python enought to know if it's simple.