Skip to content

Commit

Permalink
comment cleanup from issue #1000 first round
Browse files Browse the repository at this point in the history
  • Loading branch information
Applefrittr committed Oct 27, 2024
1 parent 3266fd7 commit 4692efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/item-image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ function ItemImage({
if (imageField === 'image8xLink') {
sizeFactor = 8;
}
//--------- add another if statement for inspectImageLink ------------
if (imageField === 'inspectImageLink') {
const loadOutImgStyle = {
maxHeight: `${175 / scaler}px`,
Expand Down
4 changes: 2 additions & 2 deletions src/pages/player/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ function Player() {
...item,
width: preset.width,
height: preset.height,
inspectImageLink: preset.inspectImageLink, // issue #1000 orginal = baseImageLink
inspectImageLink: preset.inspectImageLink,
};
}
let countLabel;
Expand Down Expand Up @@ -837,7 +837,7 @@ function Player() {
let itemImage = undefined;
let itemLabel = '';
let contents = [];
let itemDisplay = getItemDisplay(loadoutItem); // <--------------------- This is where item img is retrieved, dimensions set
let itemDisplay = getItemDisplay(loadoutItem);
if (itemDisplay) {
itemImage = itemDisplay.image;
} else {
Expand Down

0 comments on commit 4692efd

Please sign in to comment.