CComponentsText: assign current initialized position values to old var

This commit is contained in:
2016-02-21 14:12:06 +01:00
parent f75402e571
commit 5cfe504044

View File

@@ -178,6 +178,8 @@ void CComponentsText::initCCText()
ct_textbox->setTextRenderModeFullBG(!paint_bg);
dprintf(DEBUG_DEBUG, "[CComponentsText] [%s - %d] init text: %s [x %d, y %d, w %d, h %d]\n", __func__, __LINE__, ct_text.c_str(), this->iX, this->iY, this->iWidth, this->iHeight);
x_old = iX = x + fr_thickness;
y_old = iY = y + fr_thickness;
}
void CComponentsText::clearCCText()