From 350d3b7f127c461b90bb4f77e97baca70f107a76 Mon Sep 17 00:00:00 2001 From: Xurdejl Date: Thu, 29 Dec 2022 19:10:50 +0100 Subject: [PATCH 1/2] fix: use variable for the idle screen message In commit 064100652794ca258cbbd3c0200578bb0e8d465c I forgot to use the variable for the translated idle screen message --- modernx.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modernx.lua b/modernx.lua index 6c17414..36690e8 100644 --- a/modernx.lua +++ b/modernx.lua @@ -2277,7 +2277,7 @@ function tick() ass:new_event() ass:pos(display_w / 2, icon_y + 65) ass:an(8) - ass:append('Drop files or URLs to play here.') + ass:append(texts.welcome) end set_osd(display_w, display_h, ass.text) From feca458b3eee0fd383a77d45632265372c607461 Mon Sep 17 00:00:00 2001 From: Xurdejl Date: Thu, 29 Dec 2022 21:06:23 +0100 Subject: [PATCH 2/2] fix: title being cut off at the bottom --- modernx.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modernx.lua b/modernx.lua index 36690e8..989512a 100644 --- a/modernx.lua +++ b/modernx.lua @@ -1344,7 +1344,7 @@ layouts = function () lo = add_layout('title') lo.geometry = geo lo.style = string.format('%s{\\clip(%f,%f,%f,%f)}', osc_styles.Title, - geo.x, geo.y - geo.h, geo.x + geo.w , geo.y) + geo.x, geo.y - geo.h, geo.x + geo.w , geo.y + 5) lo.alpha[3] = 0 lo.button.maxchars = geo.w / 23 end