Changeset 98 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/panels/TimeStampPanel.java
- Timestamp:
- 08/29/2017 10:40:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/gui/panels/TimeStampPanel.java
r76 r98 61 61 if ((incident.length + incident.offset) > longestLength) 62 62 { 63 longestLength = incident.length + incident.offset ;63 longestLength = incident.length + incident.offset + IncidentTimelinePanel.requestedScriptBuilderFillerTime; 64 64 } 65 65 } … … 92 92 * @param incident the incident which this window is editing. 93 93 */ 94 public void update(ScriptIncident incident )94 public void update(ScriptIncident incident, IncidentTimelinePanel timeline) 95 95 { 96 96 longestLength = ScriptBuilderGuiConstants.TICK_TIMELINE_SMALLEST_LENGTH; … … 105 105 if ((incident.length + incident.offset) > longestLength) 106 106 { 107 longestLength = incident.length + incident.offset ;107 longestLength = incident.length + incident.offset + timeline.requestedEditorFillerTime; 108 108 } 109 109 }
Note: See TracChangeset
for help on using the changeset viewer.
