v2.4.0: cleaned up various allocations that occurred every frame
This commit is contained in:
@@ -62,6 +62,10 @@ public class ScrollEvent {
|
||||
}
|
||||
|
||||
public static synchronized void processScrollEvents(){
|
||||
if (scrollEvents.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (ScrollEvent k : scrollEvents){
|
||||
scrollSignal.dispatch(k);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user