Issue #1001 synchronize paint with add.
Former-commit-id:2c9737ca5c
[formerly2c9737ca5c
[formerly 825c08e6ce89b0c4b042c9e85f7abbc7b9a675ef]] Former-commit-id:798d26e954
Former-commit-id:e9cde98072
This commit is contained in:
parent
5dc36127da
commit
db95e6621b
1 changed files with 45 additions and 43 deletions
|
@ -359,6 +359,7 @@ public class LightningResource extends
|
||||||
.get(this.lastPaintedTime);
|
.get(this.lastPaintedTime);
|
||||||
|
|
||||||
if (cacheObject != null) {
|
if (cacheObject != null) {
|
||||||
|
synchronized (cacheObject.getMetadata()) {
|
||||||
LightningFrame bundle = cacheObject.getObjectAsync();
|
LightningFrame bundle = cacheObject.getObjectAsync();
|
||||||
if (bundle == null) {
|
if (bundle == null) {
|
||||||
needsUpdate = true;
|
needsUpdate = true;
|
||||||
|
@ -412,6 +413,7 @@ public class LightningResource extends
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
font.setMagnification(magnification);
|
font.setMagnification(magnification);
|
||||||
List<DrawableString> strings = new ArrayList<DrawableString>();
|
List<DrawableString> strings = new ArrayList<DrawableString>();
|
||||||
|
|
Loading…
Add table
Reference in a new issue