[apps] Shared: the cursor view own its size instead of the curve view

This commit is contained in:
Émilie Feral
2018-01-24 17:36:33 +01:00
committed by EmilieNumworks
parent 8ccb69f2e2
commit c9b86d0c86
10 changed files with 16 additions and 26 deletions

View File

@@ -7,4 +7,8 @@ void VerticalCursorView::drawRect(KDContext * ctx, KDRect rect) const {
ctx->fillRect(KDRect(0, 0, 1, height), KDColorBlack);
}
KDSize VerticalCursorView::minimalSizeForOptimalDisplay() const {
return KDSize(1, 0);
}
}