mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-03 13:30:25 +07:00
Logic canvas cleanup
This commit is contained in:
parent
6e3cc13a26
commit
fc883ca2f3
@ -116,20 +116,11 @@ public class LCanvas extends Table{
|
|||||||
jumps.cullable = false;
|
jumps.cullable = false;
|
||||||
}).grow().get();
|
}).grow().get();
|
||||||
pane.setFlickScroll(false);
|
pane.setFlickScroll(false);
|
||||||
|
|
||||||
pane.setScrollYForce(s);
|
pane.setScrollYForce(s);
|
||||||
pane.updateVisualScroll();
|
|
||||||
//load old scroll percent
|
|
||||||
Core.app.post(() -> {
|
|
||||||
pane.setScrollYForce(s);
|
|
||||||
pane.updateVisualScroll();
|
|
||||||
});
|
|
||||||
|
|
||||||
if(toLoad != null){
|
if(toLoad != null){
|
||||||
load(toLoad);
|
load(toLoad);
|
||||||
}
|
}
|
||||||
|
|
||||||
Core.app.post(() -> statements.invalidateHierarchy());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -26,4 +26,4 @@ org.gradle.caching=true
|
|||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
android.enableR8.fullMode=false
|
android.enableR8.fullMode=false
|
||||||
archash=aafecc8a29
|
archash=277a7cc689
|
||||||
|
Loading…
Reference in New Issue
Block a user