Omaha #4084 - Fix for PGEN drawing bug.
Former-commit-id: e8c5dbc9a0012d7dd1a0f2cf0ef1c40e02245c95
This commit is contained in:
parent
a680e0449f
commit
e88c0745f2
1 changed files with 6 additions and 1 deletions
|
@ -74,10 +74,15 @@ public class DefaultElementContainer extends AbstractElementContainer {
|
|||
* the active layer so DiaplayProperties' "filled" should be true while
|
||||
* "monoColor" should be false (using the element's color).
|
||||
*/
|
||||
if (needsCreate && dprops == null) {
|
||||
if (dprops == null) {
|
||||
dprops = new DisplayProperties(false, null, true);
|
||||
}
|
||||
|
||||
if (needsCreate) {
|
||||
dprops.setLayerMonoColor(false);
|
||||
dprops.setLayerFilled(true);
|
||||
}
|
||||
|
||||
// For normal drawing........
|
||||
if ((displayEls == null) || paintProps.isZooming()) {
|
||||
needsCreate = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue