Issue #1001 synchronize paint with add.

Former-commit-id: 2c9737ca5c [formerly 2c9737ca5c [formerly 825c08e6ce89b0c4b042c9e85f7abbc7b9a675ef]]
Former-commit-id: 798d26e954
Former-commit-id: e9cde98072
This commit is contained in:
Ben Steffensmeier 2012-08-03 14:10:04 -05:00
parent 5dc36127da
commit db95e6621b

View file

@ -359,6 +359,7 @@ public class LightningResource extends
.get(this.lastPaintedTime);
if (cacheObject != null) {
synchronized (cacheObject.getMetadata()) {
LightningFrame bundle = cacheObject.getObjectAsync();
if (bundle == null) {
needsUpdate = true;
@ -412,6 +413,7 @@ public class LightningResource extends
}
}
}
}
font.setMagnification(magnification);
List<DrawableString> strings = new ArrayList<DrawableString>();