notes: show note bodies after dragging notes.

After dragging a note, show the note body again so you can see how it
looks.
This commit is contained in:
evazion
2020-07-29 12:44:30 -05:00
parent dd7cd7c1c2
commit 0fbbc60a33

View File

@@ -103,6 +103,7 @@ class Note {
// changes the CSS coordinates to pixels, so we have to convert them back to percentages.
on_dragstop() {
this.place_note(this.note.x, this.note.y, this.note.width, this.note.height);
this.note.body.show();
}
// Place the note box using absolute percentage coordinates (floats in the range 0.0..1.0).