Skip to content

Commit 326f322

Browse files
committed
fix lyrics background
1 parent 9d433a2 commit 326f322

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/tauon/t_modules/t_main.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19349,7 +19349,8 @@ def render(self, index: int, x: int, y: int, side_panel: bool = False, w: int =
1934919349
bg = ColourRGBA(bg.r, bg.g, bg.b, 255)
1935019350
font_size = 15
1935119351
spacing = round(17 * self.gui.scale)
19352-
self.ddt.rect((self.window_size[0] - self.gui.rspw, self.gui.panelY, self.gui.rspw, h), bg)
19352+
self.ddt.rect((self.window_size[0] - self.gui.rspw, y, self.gui.rspw, h), bg)
19353+
y += 25 * gui.scale
1935319354
else:
1935419355
bg = self.colours.playlist_panel_background
1935519356
font_size = 17
@@ -44437,13 +44438,13 @@ def dev_mode_disable_save_state() -> None:
4443744438
if not prefs.lyric_metadata_panel_top:
4443844439
tauon.timed_lyrics_ren.render(
4443944440
target_track.index, (window_size[0] - gui.rspw) + 9 * gui.scale,
44440-
gui.panelY + 25 * gui.scale, side_panel=True, w=gui.rspw,
44441+
gui.panelY, side_panel=True, w=gui.rspw,
4444144442
h=window_size[1] - gui.panelY - gui.panelBY - gui.l_panel_h)
4444244443
meta_box.l_panel(window_size[0] - gui.rspw, gui.l_panel_y, gui.rspw, gui.l_panel_h, target_track)
4444344444
else:
4444444445
tauon.timed_lyrics_ren.render(
4444544446
target_track.index, (window_size[0] - gui.rspw) + 9 * gui.scale,
44446-
gui.panelY + 25 * gui.scale + gui.l_panel_h, side_panel=True,
44447+
gui.panelY + gui.l_panel_h, side_panel=True,
4444744448
w=gui.rspw,
4444844449
h=window_size[1] - gui.panelY - gui.panelBY - gui.l_panel_h)
4444944450
meta_box.l_panel(window_size[0] - gui.rspw, gui.panelY, gui.rspw, gui.l_panel_h, target_track)

0 commit comments

Comments
 (0)