From 74442ec5c6b098877baf20300b9e03e46c0074b1 Mon Sep 17 00:00:00 2001 From: mjothy Date: Wed, 10 Aug 2016 11:22:45 +0200 Subject: [PATCH 1/2] iml dans gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index b83d222..57912cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target/ +*.iml \ No newline at end of file From 256e0933aa5631c9051976016ba1d0b0bcd8b8bb Mon Sep 17 00:00:00 2001 From: Paul-Yves Lucas Date: Tue, 6 Dec 2016 14:09:30 +0100 Subject: [PATCH 2/2] correcting bug in progressaggregator where progress event updated the _sizes array instead of globabl _progress array (progressbar now progress more fluidly) --- .../java/com/threerings/getdown/util/ProgressAggregator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/threerings/getdown/util/ProgressAggregator.java b/src/main/java/com/threerings/getdown/util/ProgressAggregator.java index ba6cba2..5c1bc55 100644 --- a/src/main/java/com/threerings/getdown/util/ProgressAggregator.java +++ b/src/main/java/com/threerings/getdown/util/ProgressAggregator.java @@ -20,7 +20,7 @@ public class ProgressAggregator public ProgressObserver startElement (final int index) { return new ProgressObserver() { public void progress (int percent) { - _sizes[index] = percent; + _progress[index] = percent; updateAggProgress(); } };