Changeset 369


Ignore:
Timestamp:
10/12/08 11:00:20 (16 years ago)
Author:
bjn8
Message:

Fixed GUI artefact in timeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src_apollo/org/apollo/gui/TimeAxis.java

    r368 r369  
    213213       
    214214                                // Skip major positions
    215                                 if (((tx - majorTickXStart) % majorTickPixelSpacing) <= 4) // could be a pixel out
     215                                if ((((int)(tx - majorTickXStart)) % (int)majorTickPixelSpacing) <= 4) // could be a pixel out
    216216                                        tx += minorTickPixelSpacing;
    217217                               
Note: See TracChangeset for help on using the changeset viewer.