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:
@@ -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>");
|
||||
|
||||
Reference in New Issue
Block a user