mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CTextBox: Fix background paint
This commit is contained in:
@@ -554,7 +554,7 @@ void CTextBox::refreshText(void)
|
|||||||
delete[] m_bgpixbuf;
|
delete[] m_bgpixbuf;
|
||||||
m_bgpixbuf = NULL;
|
m_bgpixbuf = NULL;
|
||||||
}
|
}
|
||||||
if (has_changed){
|
if (m_old_cText != m_cText || has_changed){
|
||||||
//TRACE("[CTextBox] %s paint bg %d\r\n", __FUNCTION__, __LINE__);
|
//TRACE("[CTextBox] %s paint bg %d\r\n", __FUNCTION__, __LINE__);
|
||||||
frameBuffer->paintBoxRel(ax, ay, dx, dy, m_textBackgroundColor, m_nBgRadius, m_nBgRadiusType);
|
frameBuffer->paintBoxRel(ax, ay, dx, dy, m_textBackgroundColor, m_nBgRadius, m_nBgRadiusType);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user