increased world loading speed and ui scroll

This commit is contained in:
MihailRis
2024-01-19 03:53:30 +03:00
parent ac9d0d7993
commit 1938ccc803
3 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ void Container::act(float delta) {
void Container::scrolled(int value) {
int diff = (actualLength-size().y);
if (diff > 0 && scrollable_) {
scroll += value * 20;
scroll += value * 40;
if (scroll > 0)
scroll = 0;
if (-scroll > diff) {