Fix notes having absolute coordinates upon creation

Notes are not given percent coordinates when created, however moving
or resizing would update the coordinates to percentage. This is why
it was appearing as if the type of coordinates given were random.
This commit is contained in:
BrokenEagle
2020-06-05 21:50:17 +00:00
parent a8389c74d8
commit 6f7530533a

View File

@@ -972,6 +972,7 @@ let Note = {
height: h
});
Note.Box.update_data_attributes($note_box);
Note.Box.scale($note_box);
$note_box.addClass("new-note");
$note_box.addClass("unsaved");
$note_body.html("<em>Click to edit</em>");