1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 10:46:32 +00:00

#14 改善適用

- アプリが立ち上がったら最初はmy planetが表示されるようにしたい
- Noteがスクロールできない
- Note行間がなくて読みづらい
This commit is contained in:
Rokt33r
2015-08-23 00:52:03 +09:00
parent da066fe694
commit 04060ce252
7 changed files with 36 additions and 31 deletions

View File

@@ -20,13 +20,9 @@ var KeyStore = Reflux.createStore({
if (typeof cb === 'function') cb()
},
onKeyDown: function (e) {
console.log(e.keyCode)
console.log(state)
/*
Modals
*/
if (state.codeForm || state.noteForm || state.noteDeleteModal || state.codeDeleteModal || state.addMemberModal || state.aboutModal || state.editProfileModal || state.contactModal || state.teamCreateModal || state.planetCreateModal || state.planetSettingModal || state.teamSettingsModal || state.logoutModal) {
// ESC
if (e.keyCode === 27) this.cast('closeModal')