@@ -21,7 +21,7 @@ import FocusLock from "react-focus-lock";
21
21
import { MatrixEvent } from "matrix-js-sdk/src/matrix" ;
22
22
23
23
import { _t } from "../../../languageHandler" ;
24
- import AccessibleTooltipButton from "./AccessibleTooltipButton " ;
24
+ import AccessibleButton from "./AccessibleButton " ;
25
25
import MemberAvatar from "../avatars/MemberAvatar" ;
26
26
import { ContextMenuTooltipButton } from "../../../accessibility/context_menu/ContextMenuTooltipButton" ;
27
27
import MessageContextMenu from "../context_menus/MessageContextMenu" ;
@@ -513,14 +513,14 @@ export default class ImageView extends React.Component<IProps, IState> {
513
513
}
514
514
515
515
const zoomOutButton = (
516
- < AccessibleTooltipButton
516
+ < AccessibleButton
517
517
className = "mx_ImageView_button mx_ImageView_button_zoomOut"
518
518
title = { _t ( "action|zoom_out" ) }
519
519
onClick = { this . onZoomOutClick }
520
520
/>
521
521
) ;
522
522
const zoomInButton = (
523
- < AccessibleTooltipButton
523
+ < AccessibleButton
524
524
className = "mx_ImageView_button mx_ImageView_button_zoomIn"
525
525
title = { _t ( "action|zoom_in" ) }
526
526
onClick = { this . onZoomInClick }
@@ -553,23 +553,23 @@ export default class ImageView extends React.Component<IProps, IState> {
553
553
< div className = "mx_ImageView_toolbar" >
554
554
{ zoomOutButton }
555
555
{ zoomInButton }
556
- < AccessibleTooltipButton
556
+ < AccessibleButton
557
557
className = "mx_ImageView_button mx_ImageView_button_rotateCCW"
558
558
title = { _t ( "lightbox|rotate_left" ) }
559
559
onClick = { this . onRotateCounterClockwiseClick }
560
560
/>
561
- < AccessibleTooltipButton
561
+ < AccessibleButton
562
562
className = "mx_ImageView_button mx_ImageView_button_rotateCW"
563
563
title = { _t ( "lightbox|rotate_right" ) }
564
564
onClick = { this . onRotateClockwiseClick }
565
565
/>
566
- < AccessibleTooltipButton
566
+ < AccessibleButton
567
567
className = "mx_ImageView_button mx_ImageView_button_download"
568
568
title = { _t ( "action|download" ) }
569
569
onClick = { this . onDownloadClick }
570
570
/>
571
571
{ contextMenuButton }
572
- < AccessibleTooltipButton
572
+ < AccessibleButton
573
573
className = "mx_ImageView_button mx_ImageView_button_close"
574
574
title = { _t ( "action|close" ) }
575
575
onClick = { this . props . onFinished }
0 commit comments