Skip to content

Commit

Permalink
Updates for juce 8
Browse files Browse the repository at this point in the history
  • Loading branch information
FigBug committed May 8, 2024
1 parent f965e8c commit 231ba94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/gin_gui/components/gin_componentviewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class ComponentViewer::ContentComponent : public Component,
ContentComponent (juce::PropertiesFile& settings_)
: settings (settings_)
{
juce::Font f (juce::Font::getDefaultMonospacedFontName(), 12.0f, juce::Font::plain);
juce::Font f ( juce::FontOptions ( juce::Font::getDefaultMonospacedFontName(), 12.0f, juce::Font::plain) );

addAndMakeVisible (mouseDetails);
mouseDetails.setMultiLine (true, false);
Expand Down
2 changes: 1 addition & 1 deletion modules/gin_gui/components/gin_singlelinetexteditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ SingleLineTextEditor::SingleLineTextEditor (const juce::String& name)
valueTextNeedsUpdating (false),
consumeEscAndReturnKeys (true),
lastTransactionTime (0),
currentFont (14.0f),
currentFont (juce::FontOptions (14.0f)),
totalNumChars (0),
caretPosition (0),
keyboardType (TextInputTarget::textKeyboard),
Expand Down

0 comments on commit 231ba94

Please sign in to comment.