mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared] Rename methods and Factorize comparison logic
This commit is contained in:
committed by
LeaNumworks
parent
10c296e671
commit
479f34502f
@@ -136,7 +136,7 @@ void InteractiveCurveViewController::viewWillAppear() {
|
||||
/* Warning: init cursor parameter before reloading banner view. Indeed,
|
||||
* reloading banner view needs an updated cursor to load the right data. */
|
||||
uint32_t newRangeVersion = rangeVersion();
|
||||
if ((*m_rangeVersion != newRangeVersion && !isCursorVisible()) || isCursorHanging()) {
|
||||
if ((*m_rangeVersion != newRangeVersion && !isCursorVisible()) || !cursorMatchesModel()) {
|
||||
initCursorParameters();
|
||||
}
|
||||
*m_rangeVersion = newRangeVersion;
|
||||
|
||||
Reference in New Issue
Block a user