Changeset 107 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/IncidentEditorFrame.java
- Timestamp:
- 09/05/2017 01:18:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/gui/IncidentEditorFrame.java
r104 r107 307 307 public void windowClosing(WindowEvent e) 308 308 { 309 theIncident.setOffset(savedOffset); 309 //Add previous offset back in 310 //If we didn't adjust the offset, this will just set it to the old value 311 //If we deleted the first event(s), this will add the offsets, 312 //to ensure that events stay at the correct times 313 theIncident.setOffset(theIncident.offset + savedOffset); 310 314 parent.returnFocus(); 311 315 }
Note: See TracChangeset
for help on using the changeset viewer.
