[poincare] Show grey squares in a matrix only if the cursor is in it.

Change-Id: I2e622de51a9c7af7b676ae9bd7bb3e9681f5d051
This commit is contained in:
Léa Saviot
2018-01-11 14:11:50 +01:00
parent 914b181e06
commit bf4ccd76ea
8 changed files with 155 additions and 8 deletions

View File

@@ -62,6 +62,8 @@ void Controller::insertLayoutAtCursor(ExpressionLayout * layout, ExpressionLayou
bool Controller::privateHandleEvent(Ion::Events::Event event) {
if (handleMoveEvent(event)) {
m_expressionLayout->invalidAllSizesPositionsAndBaselines();
m_view.layoutSubviews();
return true;
}
ExpressionLayout * newPointedLayout = handleAddEvent(event);