mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 11:39:58 +02:00
[apps/shared] AbstractScrollableExactApproximateExpressionsView: let the
child class decides which subview to select
This commit is contained in:
@@ -199,15 +199,6 @@ void AbstractScrollableExactApproximateExpressionsView::setDisplayLeft(bool disp
|
||||
layoutSubviews();
|
||||
}
|
||||
|
||||
void AbstractScrollableExactApproximateExpressionsView::didBecomeFirstResponder() {
|
||||
if (contentCell()->centeredExpressionView()->layout().isUninitialized()) {
|
||||
setSelectedSubviewPosition(SubviewPosition::Right);
|
||||
}
|
||||
if (contentCell()->rightExpressionView()->layout().isUninitialized()) {
|
||||
setSelectedSubviewPosition(SubviewPosition::Center);
|
||||
}
|
||||
}
|
||||
|
||||
bool AbstractScrollableExactApproximateExpressionsView::handleEvent(Ion::Events::Event event) {
|
||||
bool leftIsVisible = false;
|
||||
KDCoordinate leftWidth = 0;
|
||||
|
||||
Reference in New Issue
Block a user