1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Do not represent the numpad divide key as a slash key character

This commit is contained in:
hogliux 2016-06-15 17:38:33 +01:00
parent 16fde6798b
commit 72083c1bcf

View file

@ -250,7 +250,7 @@ String KeyPress::getTextDescription() const
{
// some keyboard layouts use a shift-key to get the slash, but in those cases, we
// want to store it as being a slash, not shift+whatever.
if (textCharacter == '/')
if (textCharacter == '/' && keyCode != numberPadDivide)
return "/";
if (mods.isCtrlDown()) desc << "ctrl + ";