Revision 141 branches/usability_v2/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/DefaultLayoutControl.java
DefaultLayoutControl.java | ||
---|---|---|
239 | 239 |
public void setLayoutContext(LayoutContext lc) { |
240 | 240 |
layoutContext = lc; |
241 | 241 |
layoutContext.addObserver(this); |
242 |
fullRect(); |
|
242 | 243 |
} |
243 | 244 |
|
244 | 245 |
/** |
... | ... | |
273 | 274 |
Graphics gimgRuler = imgRuler.getGraphics(); |
274 | 275 |
clipVisibleRect((Graphics2D) gimag); |
275 | 276 |
|
276 |
if (initial) { |
|
277 |
fullRect(); |
|
278 |
initial = false; |
|
279 |
} |
|
277 |
// moved to initialize() |
|
278 |
// if (initial) { |
|
279 |
// fullRect(); |
|
280 |
// initial = false; |
|
281 |
// } |
|
280 | 282 |
|
281 | 283 |
try { |
282 | 284 |
layoutDraw.drawLayout((Graphics2D) gimag, img); |
Also available in: Unified diff