mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Fix for text editor line heights with mixed font sizes. Added mouse position velocity to the midi keyboard. Internationalised some text used in the Button class.
This commit is contained in:
parent
df5f73910b
commit
2f8eaf9183
6 changed files with 221 additions and 225 deletions
|
|
@ -30,6 +30,7 @@ BEGIN_JUCE_NAMESPACE
|
|||
#include "juce_Button.h"
|
||||
#include "../juce_ComponentDeletionWatcher.h"
|
||||
#include "../keyboard/juce_KeyPressMappingSet.h"
|
||||
#include "../../../text/juce_LocalisedStrings.h"
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -99,7 +100,7 @@ const String Button::getTooltip()
|
|||
const String key (keyPresses.getReference(i).getTextDescription());
|
||||
|
||||
if (key.length() == 1)
|
||||
tt << " [shortcut: '" << key << "']";
|
||||
tt << " [" << TRANS("shortcut") << ": '" << key << "']";
|
||||
else
|
||||
tt << " [" << key << ']';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue