File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -822,14 +822,26 @@ class Toolbar {
822822 // Horizontal Scroll
823823 const enableHorizScrollIcon = docById ( "enableHorizScrollIcon" ) ;
824824 const disableHorizScrollIcon = docById ( "disableHorizScrollIcon" ) ;
825+
825826 if ( enableHorizScrollIcon ) {
826827 enableHorizScrollIcon . style . display = "block" ;
827- enableHorizScrollIcon . onclick = ( ) => setScroller ( this . activity ) ;
828+ enableHorizScrollIcon . onclick = ( ) => {
829+ setScroller ( this . activity ) ;
830+ this . activity . textMsg (
831+ _ ( "Horizontal scrolling enabled." )
832+ ) ;
833+ } ;
828834 }
835+
829836 if ( disableHorizScrollIcon ) {
830- disableHorizScrollIcon . onclick = ( ) => setScroller ( this . activity ) ;
837+ disableHorizScrollIcon . onclick = ( ) => {
838+ setScroller ( this . activity ) ;
839+ this . activity . textMsg (
840+ _ ( "Horizontal scrolling disabled." )
841+ ) ;
842+ } ;
831843 }
832-
844+
833845 // JavaScript Toggle
834846 const toggleJavaScriptIcon = docById ( "toggleJavaScriptIcon" ) ;
835847 if ( toggleJavaScriptIcon ) {
You can’t perform that action at this time.
0 commit comments