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

DrawableText: 0-initialise fontHeight and fontHScale variables

This commit is contained in:
Aga Janowicz 2025-12-08 17:13:00 +00:00 committed by reuk
parent 1b0911dda6
commit 195795047e
No known key found for this signature in database

View file

@ -120,7 +120,7 @@ public:
private:
//==============================================================================
Parallelogram<float> bounds;
float fontHeight, fontHScale;
float fontHeight{}, fontHScale{};
Font font { withDefaultMetrics (FontOptions{}) }, scaledFont { withDefaultMetrics (FontOptions{}) };
String text;
bool preserveWhitespace = false;