Browse Source

Update juce

tags/2018-04-16
falkTX 10 years ago
parent
commit
d9e8d0fca3
2 changed files with 1 additions and 10 deletions
  1. +1
    -1
      libs/juce/source/modules/juce_gui_basics/buttons/juce_HyperlinkButton.cpp
  2. +0
    -9
      libs/juce/source/modules/juce_gui_basics/native/juce_win32_Windowing.cpp

+ 1
- 1
libs/juce/source/modules/juce_gui_basics/buttons/juce_HyperlinkButton.cpp View File

@@ -74,7 +74,7 @@ Font HyperlinkButton::getFontToUse() const
void HyperlinkButton::changeWidthToFitText()
{
setSize (getFontToUse().getStringWidth (getName()) + 6, getHeight());
setSize (getFontToUse().getStringWidth (getButtonText()) + 6, getHeight());
}
void HyperlinkButton::colourChanged()


+ 0
- 9
libs/juce/source/modules/juce_gui_basics/native/juce_win32_Windowing.cpp View File

@@ -2024,15 +2024,6 @@ private:
used = handleKeyPress (extendedKeyModifier | (int) key, 0) || used;
break;
case VK_ADD:
case VK_SUBTRACT:
case VK_MULTIPLY:
case VK_DIVIDE:
case VK_SEPARATOR:
case VK_DECIMAL:
used = handleKeyUpOrDown (true);
break;
default:
used = handleKeyUpOrDown (true);


Loading…
Cancel
Save