From 0cb6fa93e8f87fa461a3c5d63febc47587a6defc Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 14 Jun 2021 02:30:57 -0400 Subject: [PATCH] Revert to old font size behavior with NanoVG. This keep font sizes consistent. --- dep/nanovg | 2 +- dep/oui-blendish | 2 +- src/ui/Label.cpp | 2 +- src/ui/MenuItem.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dep/nanovg b/dep/nanovg index d201a1cf..911b7edf 160000 --- a/dep/nanovg +++ b/dep/nanovg @@ -1 +1 @@ -Subproject commit d201a1cf69940450960db87c8e30b883087c9d01 +Subproject commit 911b7edf17a8332e99dd6f4aa1b3d6f301541f0b diff --git a/dep/oui-blendish b/dep/oui-blendish index 317b10ca..910847b5 160000 --- a/dep/oui-blendish +++ b/dep/oui-blendish @@ -1 +1 @@ -Subproject commit 317b10ca1ad836d4bd7cd82c97c0a5e396b20f5b +Subproject commit 910847b53396fd394e5fa25c3430caea02a3fe70 diff --git a/src/ui/Label.cpp b/src/ui/Label.cpp index 73e6c6f3..a95e1546 100644 --- a/src/ui/Label.cpp +++ b/src/ui/Label.cpp @@ -7,7 +7,7 @@ namespace ui { Label::Label() { box.size.y = BND_WIDGET_HEIGHT; - fontSize = 11; + fontSize = 13; color = bndGetTheme()->regularTheme.textColor; } diff --git a/src/ui/MenuItem.cpp b/src/ui/MenuItem.cpp index 1ea24fca..36efe52c 100644 --- a/src/ui/MenuItem.cpp +++ b/src/ui/MenuItem.cpp @@ -6,7 +6,7 @@ namespace rack { namespace ui { -#define BND_LABEL_FONT_SIZE 11 +#define BND_LABEL_FONT_SIZE 13 void MenuItem::draw(const DrawArgs& args) {