Omaha #4084 - Fix for PGEN drawing bug.
Former-commit-id: e8c5dbc9a0012d7dd1a0f2cf0ef1c40e02245c95
This commit is contained in:
parent
86c2994048
commit
b9d2eaefd3
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
|
* the active layer so DiaplayProperties' "filled" should be true while
|
||||||
* "monoColor" should be false (using the element's color).
|
* "monoColor" should be false (using the element's color).
|
||||||
*/
|
*/
|
||||||
if (needsCreate && dprops == null) {
|
if (dprops == null) {
|
||||||
dprops = new DisplayProperties(false, null, true);
|
dprops = new DisplayProperties(false, null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (needsCreate) {
|
||||||
|
dprops.setLayerMonoColor(false);
|
||||||
|
dprops.setLayerFilled(true);
|
||||||
|
}
|
||||||
|
|
||||||
// For normal drawing........
|
// For normal drawing........
|
||||||
if ((displayEls == null) || paintProps.isZooming()) {
|
if ((displayEls == null) || paintProps.isZooming()) {
|
||||||
needsCreate = true;
|
needsCreate = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue