Description:
Add backspace shortcut.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r548:bc25da640543 -

@@ -188,8 +188,15
188 188 {
189 189 SendMessage(new ToggleWindowTypeMessage {Window = Window.InGameMenu});
190 190 SendMessage(new GameRateMessage { paused = true, rate = null });
191 SendMessage(new AdjustSelection {Type = AdjustmentType.Complete });
191 //People will probably expect escape to clear, even though its primary purpose
192 //is to open the menu:
193 SendMessage(new AdjustSelection {Type = AdjustmentType.Clear });
192 194 }
195
196 //Back => Backspace
197 if (keyboardCur.IsKeyDown(Keys.Back) && keyboardPrev.IsKeyUp(Keys.Back)) {
198 SendMessage(new AdjustSelection {Type = AdjustmentType.Clear });
199 }
193 200 }
194 201
195 202 if (keyboardCur.IsKeyDown(Keys.OemBackslash) && keyboardPrev.IsKeyUp(Keys.OemBackslash))
@@ -257,6 +264,8
257 264 SendMessage(new AdjustSelection { End = CellMap.calculateMousegrid(original_point)});
258 265 }
259 266
267
268
260 269 #endregion
261 270 this.keyboardPrev = keyboardCur;
262 271 this.mousePrev = mouseCur;
You need to be logged in to leave comments. Login now