• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

iSightを使ってBooklog,MediaMarkerインポート用CSVファイルを生成するアプリ


Commit MetaInfo

Revision4c8ac95c716ef8c2dcad7e8bfd43043e2c97e026 (tree)
Time2011-03-21 20:48:14
Authormasakih <masakih@user...>
Commitermasakih

Log Message

[Mod] NSDeleteCharacterを使うように変更。

Change Summary

Incremental Difference

--- a/BEMainWindowController.m
+++ b/BEMainWindowController.m
@@ -172,7 +172,8 @@
172172
173173 - (void)keyDown:(NSEvent *)theEvent
174174 {
175- if([theEvent keyCode] == 0x33) {
175+ NSString *chars = [theEvent charactersIgnoringModifiers];
176+ if([chars length] != 0 && [chars characterAtIndex:0] == NSDeleteCharacter) {
176177 if([books canRemove]) {
177178 [self delete:nil];
178179 }