Fix scrolling in online UniStore list

This commit is contained in:
Pk11
2022-04-24 22:15:00 -05:00
committed by Dark98
parent 1ed2403a11
commit 8de1f78ea8
+3 -3
View File
@@ -402,10 +402,10 @@ void QRCode::handler(std::string &result) {
else result = std::string((char *)this->out.data(), this->out.size()); else result = std::string((char *)this->out.data(), this->out.size());
} }
} }
if (this->selectedStore < this->sPos) this->sPos = this->selectedStore;
else if (this->selectedStore > this->sPos + 6 - 1) this->sPos = this->selectedStore - 6 + 1;
} }
if (this->selectedStore < this->sPos) this->sPos = this->selectedStore;
else if (this->selectedStore >= this->sPos + 6 - 1) this->sPos = this->selectedStore - 6 + 1;
} }
/* /*