mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CTextBox: Remove workaround for minimally text_border_width
- Default value is now 1 in CComponentsText
This commit is contained in:
@@ -220,10 +220,7 @@ void CTextBox::setTextFont(Font* font_text)
|
||||
|
||||
void CTextBox::setTextBorderWidth(int border)
|
||||
{
|
||||
/* 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 */
|
||||
text_border_width = (border > 0) ? border : 1;
|
||||
text_border_width = border;
|
||||
//Initialise the window frames first and than refresh text line array
|
||||
initFramesAndTextArray();
|
||||
}
|
||||
|
Reference in New Issue
Block a user