Skip to content

Commit

Permalink
Release 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
luke- committed Nov 27, 2020
1 parent 16daba6 commit 64408e2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
Changelog
=========

1.2.2 (November 27, 2020)
-----------------------
- Fix #73: Fixed preview image dimensions


1.2.1 (November 13, 2020)
-----------------------
- Fix #72: RangeError: Maximum call stack size exceeded when initializing the gallery snippet
- Fix: GalleryEditForm form labels not translatable


1.2.0 (November 4, 2020)
------------------------
- Fix #57: Fix gallery snippet on mobile small screens
Expand Down
7 changes: 7 additions & 0 deletions models/SquarePreviewImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ class SquarePreviewImage extends PreviewImage

const DEFAULT_GALLERY_PREVIEW_IMAGE_MAX_DIM = 400;

/**
* @inheritdoc
*/
public function getId()
{
return 'gallery-preview';
}

/**
* @inheritDoc
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Gallery",
"description": "Adds galleries to Spaces and profiles.",
"keywords": ["gallery", "photo", "organisation"],
"version": "1.2.1",
"version": "1.2.2",
"humhub": {
"minVersion": "1.7"
},
Expand Down

0 comments on commit 64408e2

Please sign in to comment.