Improve crop editor styling.

This commit is contained in:
2020-11-23 12:22:05 +01:00
parent fd84e1c9f8
commit 2c68b6a798
2 changed files with 7 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ class CropEditor {
this.container = document.createElement("div");
this.container.id = "crop_editor";
this.position = document.createElement("div");
this.position = document.createElement("fieldset");
this.position.className = "crop_position";
this.container.appendChild(this.position);
@@ -217,4 +217,4 @@ class CropEditor {
crop_boundary.style.width = (this.crop_width.value) * width_scale + "px";
crop_boundary.style.height = (this.crop_height.value) * height_scale + "px";
}
}
}