mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
increased world loading speed and ui scroll
This commit is contained in:
parent
ac9d0d7993
commit
1938ccc803
3 changed files with 11 additions and 12 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue