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:
parent
16fde6798b
commit
72083c1bcf
1 changed files with 1 additions and 1 deletions
|
|
@ -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 + ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue