mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps/calculation] HistoryViewCell: when changing SubviewType, set the
right subcell as first responder! This fixes the following bug: when selecting a cell whose content is too long to be displayed, the scrolling is broken
This commit is contained in:
committed by
LeaNumworks
parent
90222c3f45
commit
300de8fb15
@@ -30,6 +30,7 @@ void HistoryViewCellDataSource::setSelectedSubviewType(SubviewType subviewType,
|
||||
if (selectedCell) {
|
||||
selectedCell->reloadSubviewHighlight();
|
||||
selectedCell->cellDidSelectSubview(subviewType, previousSubviewType);
|
||||
Container::activeApp()->setFirstResponder(selectedCell);
|
||||
}
|
||||
if (previouslySelectedCell) {
|
||||
previouslySelectedCell->cellDidSelectSubview(SubviewType::Input);
|
||||
|
||||
Reference in New Issue
Block a user