mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[apps/calculation] Fix rendering bug.
When powering off then on the device, the EditableExpressionView had a rendering bug on the bottom left corner. Change-Id: I1792831f949b8e646fff68b9e784c1ff573516fc
This commit is contained in:
@@ -58,7 +58,7 @@ void EditExpressionController::ContentView::drawRect(KDContext * ctx, KDRect rec
|
||||
// Draw the separator
|
||||
ctx->fillRect(KDRect(0, bounds().height() -inputViewFrameHeight-k_separatorThickness, bounds().width(), k_separatorThickness), Palette::GreyMiddle);
|
||||
// Color the left margin
|
||||
ctx->fillRect(KDRect(0, bounds().height() -inputViewFrameHeight, k_leftMargin, k_textFieldHeight), m_textField.backgroundColor());
|
||||
ctx->fillRect(KDRect(0, bounds().height() -inputViewFrameHeight, k_leftMargin, inputViewFrameHeight), m_textField.backgroundColor());
|
||||
if (!editionIsInTextField()) {
|
||||
// Color the upper margin
|
||||
ctx->fillRect(KDRect(0, bounds().height() -inputViewFrameHeight, bounds().width(), k_verticalMargin), m_textField.backgroundColor());
|
||||
|
||||
Reference in New Issue
Block a user