File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
invokeai/frontend/web/src/features/gallery/components/ImageViewer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export const CompareToolbar = memo(() => {
28
28
const swapImages = useCallback ( ( ) => {
29
29
dispatch ( comparedImagesSwapped ( ) ) ;
30
30
} , [ dispatch ] ) ;
31
- const togglecomparisonFit = useCallback ( ( ) => {
31
+ const toggleComparisonFit = useCallback ( ( ) => {
32
32
dispatch ( comparisonFitChanged ( comparisonFit === 'contain' ? 'fill' : 'contain' ) ) ;
33
33
} , [ dispatch , comparisonFit ] ) ;
34
34
const exitCompare = useCallback ( ( ) => {
@@ -50,7 +50,7 @@ export const CompareToolbar = memo(() => {
50
50
< IconButton
51
51
aria-label = { t ( 'gallery.stretchToFit' ) }
52
52
tooltip = { t ( 'gallery.stretchToFit' ) }
53
- onClick = { togglecomparisonFit }
53
+ onClick = { toggleComparisonFit }
54
54
colorScheme = { comparisonFit === 'fill' ? 'invokeBlue' : 'base' }
55
55
variant = "outline"
56
56
icon = { < PiArrowsOutBold /> }
You can’t perform that action at this time.
0 commit comments