mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-24 15:15:52 +01:00
Bug 2298 - Font size per-platform.
My previous fix disrupted mac font size. Now the code should have the right font sizes for each platform.
This commit is contained in:
@@ -997,14 +997,22 @@ double SolveWarpedLength(const Envelope &env, double t0, double length)
|
||||
}
|
||||
}
|
||||
|
||||
static constexpr int MinPixelHeight = 12;
|
||||
static constexpr int MaxPixelHeight =
|
||||
#ifdef __WXMAC__
|
||||
12
|
||||
static constexpr int MinPixelHeight =
|
||||
#ifdef __WXMSW__
|
||||
12;
|
||||
#else
|
||||
14
|
||||
10;
|
||||
#endif
|
||||
;
|
||||
|
||||
static constexpr int MaxPixelHeight =
|
||||
#ifdef __WXMSW__
|
||||
14;
|
||||
#elif __WXMAC__
|
||||
10;
|
||||
#else
|
||||
12;
|
||||
#endif
|
||||
|
||||
|
||||
void Ruler::Updater::ChooseFonts(
|
||||
std::unique_ptr<Fonts> &pFonts, const Fonts *pUserFonts,
|
||||
|
||||
Reference in New Issue
Block a user