Skip to content

Commit

Permalink
Merge pull request #7 from transcom/B20440-amw-zoom-rotate-capability…
Browse files Browse the repository at this point in the history
…-for-images-followup

B-20438 - final revision which makes this change closer to the previous successful merge
  • Loading branch information
cameroncaci authored Aug 23, 2024
2 parents dd27ed8 + 2680088 commit 82fe4eb
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions src/components/drivers/photo-viewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,17 @@ export default class PhotoViewer extends Component {
<div
className="photo-viewer-container"
style={containerStyles}
id="pg-photo-container">
id="pg-photo-container"
>
<div
className="photo-viewer-scale-container"
id="photo-viewer-scale-container"
style={scaleContainerStyle}>
style={scaleContainerStyle}
>
<div
className="photo-viewer-image-container"
id="photo-viewer-image-container">
id="photo-viewer-image-container"
>
&nbsp;
</div>
</div>
Expand All @@ -146,25 +149,29 @@ export default class PhotoViewer extends Component {
<button
type="button"
className="view-control"
onClick={this.increaseZoom}>
onClick={this.increaseZoom}
>
<i className="zoom-in" />
</button>
<button
type="button"
className="view-control"
onClick={this.reduceZoom}>
onClick={this.reduceZoom}
>
<i className="zoom-out" />
</button>
<button
type="button"
className="view-control"
onClick={this.rotateLeft}>
onClick={this.rotateLeft}
>
<i className="rotate-left" />
</button>
<button
type="button"
className="view-control"
onClick={this.rotateRight}>
onClick={this.rotateRight}
>
<i className="rotate-right" />
</button>
</div>
Expand Down

0 comments on commit 82fe4eb

Please sign in to comment.