Changeset 117 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/ScriptBuilderFrame.java


Ignore:
Timestamp:
09/07/2017 02:08:40 PM (9 years ago)
Author:
bmcguffin
Message:

Redesigned the method by which the first event in an event is added to relative time 00:00:00.

Added a second timestamp panel to the incident editor screen, which displays absolute script time in red. The original timestamp panel displays time relative to the start of the incident, in black.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/ScriptBuilderFrame.java

    r114 r117  
    15431543            script.incidents.get(indx).setOffset((Integer) addIncidentStart.getValue() * 60); 
    15441544            script.numberOfIncidents++; 
    1545             new IncidentEditorFrame(script.incidents.get(indx), this).setVisible(true); 
     1545            IncidentEditorFrame editor = new IncidentEditorFrame(script.incidents.get(indx), this); 
     1546             
     1547            editor.setVisible(true); 
    15461548        } 
    15471549        else//editing existing incident 
Note: See TracChangeset for help on using the changeset viewer.