Changeset 130 in tmcsimulator-scriptbuilder for trunk/src/event/editor/frame/Editor.java
- Timestamp:
- 10/23/2017 08:58:34 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/event/editor/frame/Editor.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/event/editor/frame/Editor.java
r119 r130 124 124 } 125 125 } 126 126 127 } 127 128 … … 150 151 public void keyReleased(KeyEvent e) 151 152 { 153 } 154 }); 155 this.addWindowListener(new WindowAdapter() 156 { 157 @Override 158 public void windowClosing(WindowEvent e) 159 { 160 //Add previous offset back in 161 //If we didn't adjust the offset, this will just set it to the old value 162 //If we deleted the first event(s), this will add the offsets, 163 //to ensure that events stay at the correct times 164 model.closePanels(); 152 165 } 153 166 });
Note: See TracChangeset
for help on using the changeset viewer.
