Changeset 61 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/panels


Ignore:
Timestamp:
08/19/2017 04:42:55 AM (9 years ago)
Author:
bmcguffin
Message:

Made a few cosmetic changes to the code. Added a statement in the update method of IncidentEditorFrame? which tries to set the maximum scale of the zoom slider at an appropriate level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/panels/ScriptBuilderTimelinePanel.java

    r54 r61  
    188188            } 
    189189 
    190             if (incident.slices.get(newSlice) != null) 
     190            if (incident.slices.get(newSlice) != null 
     191                    && getTopLevelAncestor() instanceof IncidentEditorFrame) 
    191192            { 
    192193                ed.setVisible(true); 
Note: See TracChangeset for help on using the changeset viewer.