notes: hide note bodies while keyboard moving notes.
Bug: if you used they keyboard to move or resize a note, then the note body would stay visible, which could get in the way when moving in the down direction.
This commit is contained in:
@@ -217,6 +217,7 @@ class Note {
|
|||||||
left: position.percent_left,
|
left: position.percent_left,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Note.Body.hide_all();
|
||||||
$note_box.addClass("unsaved");
|
$note_box.addClass("unsaved");
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
@@ -254,6 +255,7 @@ class Note {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Note.Body.hide_all();
|
||||||
$note_box.addClass("unsaved");
|
$note_box.addClass("unsaved");
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user