Changeset 16630 in josm for trunk/src/org/openstreetmap/josm/gui/widgets
- Timestamp:
- 2020-06-14T17:17:08+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/MultiSplitLayout.java
r16628 r16630 344 344 private static Rectangle boundsWithYandHeight(Rectangle bounds, double y, double height) { 345 345 Rectangle r = new Rectangle(); 346 r.setBounds((int) (bounds.getX()), (int) y, (int) (bounds.getWidth()), (int) height);346 r.setBounds((int) bounds.getX(), (int) y, (int) bounds.getWidth(), (int) height); 347 347 return r; 348 348 } … … 350 350 private static Rectangle boundsWithXandWidth(Rectangle bounds, double x, double width) { 351 351 Rectangle r = new Rectangle(); 352 r.setBounds((int) x, (int) (bounds.getY()), (int) width, (int) (bounds.getHeight()));352 r.setBounds((int) x, (int) bounds.getY(), (int) width, (int) bounds.getHeight()); 353 353 return r; 354 354 }
Note:
See TracChangeset
for help on using the changeset viewer.