From fad2adffa2c4465698d5b36afa1fd7c7faad5c2a Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 22 Dec 2016 09:49:40 +0100 Subject: [PATCH] partial revert: "CTextBox: expand parameters of member setTextBorderWidth()" related commit: 153d2f3c784ec72af77b979a362f6db33ddd79d6 Since this commit, TextBox received a lot of optimizations, so it is possible we have no described side effects. --- src/gui/components/cc_item_text.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gui/components/cc_item_text.cpp b/src/gui/components/cc_item_text.cpp index bf52a4f33..f56733584 100644 --- a/src/gui/components/cc_item_text.cpp +++ b/src/gui/components/cc_item_text.cpp @@ -92,10 +92,7 @@ void CComponentsText::initVarText( const int x_pos, const int y_pos, const int w width = width_old = w; height = height_old = h; - /* we need a minimal borderwith of 1px because the edge-smoothing - (or fontrenderer?) otherwise will paint single pixels outside the - defined area. e.g. 'j' is leaving such residues */ - ct_text_Hborder = 1; + ct_text_Hborder = 0; ct_text_Vborder = 0; shadow = shadow_mode;