From fedd34e83c61eb5c47a9b7cf2e8ae072e0be0fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Wed, 30 Oct 2024 01:08:12 +0100 Subject: [PATCH] stats.lua: set border size to have similar relative thickness as OSD It is 6% of font size. Little bit more relativelly to OSD, but stats has smaller text, so we need to compensate for that. --- DOCS/man/stats.rst | 2 +- player/lua/stats.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCS/man/stats.rst b/DOCS/man/stats.rst index 3fb5077c4b..9f204980f9 100644 --- a/DOCS/man/stats.rst +++ b/DOCS/man/stats.rst @@ -165,7 +165,7 @@ Configurable Options Color of the text. ``border_size`` - Default: 2 + Default: 1.2 Size of border drawn around the font. diff --git a/player/lua/stats.lua b/player/lua/stats.lua index f81fe262b1..5cc2675e73 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -56,7 +56,7 @@ local o = { font_mono = "monospace", -- monospaced digits are sufficient font_size = 20, font_color = "", - border_size = 2, + border_size = 1.2, border_color = "", shadow_x_offset = 0.0, shadow_y_offset = 0.0,