@@ -11,6 +11,7 @@ import { Col, Row, Select, Slider } from "antd";
1111import { SoundOutlined } from "@ant-design/icons" ;
1212import messages from "../../utils/messages" ;
1313import { Hotkey } from "../../core/Hotkey" ;
14+ import { Tooltip } from "../../common/Tooltip/Tooltip" ;
1415
1516const MIN_ZOOM_Y = 1 ;
1617const MAX_ZOOM_Y = 50 ;
@@ -452,7 +453,9 @@ export default class Waveform extends React.Component {
452453 < Col flex = { 8 } style = { { textAlign : "right" , marginTop : "6px" } } >
453454 < div style = { { display : "flex" } } >
454455 < div style = { { marginTop : "6px" , marginRight : "5px" } } >
455- < ZoomOutOutlined onClick = { this . onZoomMinus } className = { globalStyles . link } />
456+ < Tooltip placement = "topLeft" title = "Horizontal zoom out" >
457+ < ZoomOutOutlined onClick = { this . onZoomMinus } className = { globalStyles . link } />
458+ </ Tooltip >
456459 </ div >
457460 < div style = { { width : "100%" } } >
458461 < Slider
@@ -466,14 +469,18 @@ export default class Waveform extends React.Component {
466469 />
467470 </ div >
468471 < div style = { { marginTop : "6px" , marginLeft : "5px" } } >
469- < ZoomInOutlined onClick = { this . onZoomPlus } className = { globalStyles . link } />
472+ < Tooltip placement = "topLeft" title = "Horizontal zoom in" >
473+ < ZoomInOutlined onClick = { this . onZoomPlus } className = { globalStyles . link } />
474+ </ Tooltip >
470475 </ div >
471476 </ div >
472477 </ Col >
473478 < Col flex = { 4 } style = { { textAlign : "right" , marginTop : "6px" } } >
474479 < div style = { { display : "flex" } } >
475480 < div style = { { marginTop : "6px" , marginRight : "5px" } } >
476- < ZoomOutOutlined onClick = { this . onZoomYMinus } className = { globalStyles . link } />
481+ < Tooltip placement = "topLeft" title = "Vertical zoom out" >
482+ < ZoomOutOutlined onClick = { this . onZoomYMinus } className = { globalStyles . link } />
483+ </ Tooltip >
477484 </ div >
478485 < div style = { { width : "100%" } } >
479486 < Slider
@@ -487,7 +494,9 @@ export default class Waveform extends React.Component {
487494 />
488495 </ div >
489496 < div style = { { marginTop : "6px" , marginLeft : "5px" } } >
490- < ZoomInOutlined onClick = { this . onZoomYPlus } className = { globalStyles . link } />
497+ < Tooltip placement = "topLeft" title = "Vertical zoom in" >
498+ < ZoomInOutlined onClick = { this . onZoomYPlus } className = { globalStyles . link } />
499+ </ Tooltip >
491500 </ div >
492501 </ div >
493502 </ Col >
0 commit comments