screen max width fixes (#2663)

* max width fixes

* format
This commit is contained in:
Totoo
2025-05-23 08:42:19 +02:00
committed by GitHub
parent c80cae3638
commit ac31f4781c
33 changed files with 65 additions and 65 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ class AudioSpectrumView : public View {
' '};
Waveform waveform{
{0, 1 * 16 + cursor_band_height, 30 * 8, 2 * 16},
{0, 1 * 16 + cursor_band_height, screen_width, 2 * 16},
audio_spectrum,
128,
0,
@@ -150,7 +150,7 @@ class WaterfallView : public View {
private:
void update_widgets_rect();
const Rect audio_spectrum_view_rect{0 * 8, 0 * 16, 30 * 8, 2 * 16 + 20};
const Rect audio_spectrum_view_rect{0 * 8, 0 * 16, screen_width, 2 * 16 + 20};
static constexpr Dim audio_spectrum_height = 16 * 2 + 20;
static constexpr Dim scale_height = 20;