Revision 4774 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/FLayoutZooms.java

View differences:

FLayoutZooms.java
90 90
			}
91 91
		}
92 92
		*/
93
		
93

  
94 94
		if (p1.getX()>p2.getX()){
95 95
			int aux=p2.x;
96 96
			p2.x=p1.x;
......
161 161
					((FFrameView)fframes[i]).getRectView(point1,point2);
162 162
				}
163 163
			}
164
			
165
			
164

  
165

  
166 166
		} else {
167 167
			double wv = FLayoutUtilities.toSheetDistance(layout.getVisibleRect()
168 168
															   .getWidth(),
......
195 195

  
196 196
			rScreen.setRect(FLayoutUtilities.fromSheetRect(rSheet,
197 197
					layout.getAT()));
198
			
199
			IFFrame[] fframes=layout.getFFrames();
198

  
199
	/*		IFFrame[] fframes=layout.getFFrames();
200 200
			for (int i=0;i<fframes.length;i++){
201 201
				if (fframes[i] instanceof FFrameView){
202 202
					((FFrameView)fframes[i]).getRectView(p1,p2);
203 203
				}
204 204
			}
205
			*/
205 206
		}
206 207

  
207 208
		if (FLayoutUtilities.isPosible(rScreen)) {
208 209
			layout.getRect().setRect(rScreen);
209 210
		}
210
		
211

  
211 212
	}
212 213

  
213 214
	/**

Also available in: Unified diff