Skip to content

Commit

Permalink
🤖 mb_caa_dimensions 2022.6.27
Browse files Browse the repository at this point in the history
fix(caa dims): fix order of dimensions on queued upload thumbnails (#505)
  • Loading branch information
github-actions[bot] committed Jun 27, 2022
1 parent dc3a9b7 commit 01aeb81
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions mb_caa_dimensions.changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- **2022.6.27**: Bug fix: fix order of dimensions on queued upload thumbnails ([#505](https://github.com/ROpdebee/mb-userscripts/pull/505))
- **2022.6.18**: Bug fix: wait until dimensions are known on queued uploads ([#500](https://github.com/ROpdebee/mb-userscripts/pull/500))
- **2022.6.16**: Bug fix: fix order of dimensions ([#495](https://github.com/ROpdebee/mb-userscripts/pull/495))
- **2022.6.13**: Internal changes: allow tree-shaking the prototype input setter ([#477](https://github.com/ROpdebee/mb-userscripts/pull/477))
Expand Down
2 changes: 1 addition & 1 deletion mb_caa_dimensions.meta.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name MB: Display CAA image dimensions
// @description Displays the dimensions and size of images in the cover art archive.
// @version 2022.6.18
// @version 2022.6.27
// @author ROpdebee
// @license MIT; https://opensource.org/licenses/MIT
// @namespace https://github.com/ROpdebee/mb-userscripts
Expand Down
2 changes: 1 addition & 1 deletion mb_caa_dimensions.metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"2022.6.18"}
{"version":"2022.6.27"}
4 changes: 2 additions & 2 deletions mb_caa_dimensions.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name MB: Display CAA image dimensions
// @description Displays the dimensions and size of images in the cover art archive.
// @version 2022.6.18
// @version 2022.6.27
// @author ROpdebee
// @license MIT; https://opensource.org/licenses/MIT
// @namespace https://github.com/ROpdebee/mb-userscripts
Expand Down Expand Up @@ -452,7 +452,7 @@
const _this2 = this;
return _call(function () {
return _this2.imgElement.src.endsWith('/static/images/icons/pdf-icon.png') ? _await() : _await(_this2.image.getDimensions(), function (dimensions) {
const infoString = ''.concat(dimensions.height, 'x').concat(dimensions.width);
const infoString = ''.concat(dimensions.width, 'x').concat(dimensions.height);
_this2.dimensionsSpan.textContent = infoString;
});
});
Expand Down

0 comments on commit 01aeb81

Please sign in to comment.