Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.flowingcode.vaadin.addons</groupId>
<artifactId>image-crop-addon</artifactId>
<version>1.1.3-SNAPSHOT</version>
<version>1.2.0-SNAPSHOT</version>
<name>Image Crop Add-on</name>
<description>Image Crop Add-on for Vaadin Flow</description>
<url>https://www.flowingcode.com/en/open-source/</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ public ImageCrop(String src) {
* Constructs an ImageCrop component with the given image.
*
* @param image the image to be cropped
* @deprecated This constructor only preserves the image URL and {@linkplain #setImageAlt(String)
* alternate text}. Use {@link #ImageCrop(String)} instead.
*/
@Deprecated(forRemoval = true, since = "1.2.0")
public ImageCrop(Image image) {
this(image.getSrc());
image.getAlt().ifPresent(a -> this.setImageAlt(a));
Expand Down