diff options
author | bobzel <zzzman@gmail.com> | 2022-06-05 01:55:26 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-05 01:55:26 -0400 |
commit | d3e2c8d1be275ed04e0b5164960c3fc60334ce8f (patch) | |
tree | 96e8c0cc660daa8bc78f285ab7035b31007873ce /src/client/views/LightboxView.tsx | |
parent | 98435cb929b1e593bc561c6c56e2db07036aae63 (diff) |
fixed pdf search and page inputs to not iconify with Enter. fixed lightbox to change icons when fitwidth is clicked.
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-rw-r--r-- | src/client/views/LightboxView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx index 3d2769f66..9f890ffad 100644 --- a/src/client/views/LightboxView.tsx +++ b/src/client/views/LightboxView.tsx @@ -284,7 +284,7 @@ export class LightboxView extends React.Component<LightboxViewProps> { </div> <div className="lightboxView-navBtn" title={"toggle fit width"} onClick={e => { e.stopPropagation(); LightboxView.LightboxDoc!._fitWidth = !LightboxView.LightboxDoc!._fitWidth; }}> - <FontAwesomeIcon icon={"arrows-alt-h"} size="2x" /> + <FontAwesomeIcon icon={LightboxView.LightboxDoc?._fitWidth ? "arrows-alt-h" : "arrows-alt-v"} size="2x" /> </div> </div>; } |