Ignore:
Timestamp:
03/18/19 18:38:32 (5 years ago)
Author:
davidb
Message:

Changed how DisplayController width, height and size are retrieved. Now does this top-level, rather than going through the AxisAlignmentBox. In doing so, can now control for when the window size has you yet been correctly mapped to the screen, and fall back to pre-defined MINIMUM defaults

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/Item.java

    r1244 r1258  
    13791379        {
    13801380                final Bounds bounds = AxisAlignedBoxBounds.getEnclosing(this.getBoundingBox());
    1381                 Dimension frameSize = DisplayController.getFramePaintArea().getSize();
     1381                Dimension frameSize = DisplayController.getFramePaintAreaSize();
    13821382               
    13831383                int x = bounds.getMaxX();
Note: See TracChangeset for help on using the changeset viewer.