mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
partial revert: "CTextBox: expand parameters of member setTextBorderWidth()"
related commit:6a4aa31209
Since this commit, TextBox received a lot of optimizations, so it is possible we have no described side effects. Origin commit data ------------------ Branch: ni/coolstream Commit:fad2adffa2
Author: Thilo Graf <dbt@novatux.de> Date: 2016-12-22 (Thu, 22 Dec 2016) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user