Skip to content

Commit bfb52c5

Browse files
added notification for horizontal scrolling (sugarlabs#4142)
* added notification for horizontal scrolling * added notification on horizontal scroll * added notification for horizontal scroll * horizontal scrolling notification added
1 parent 211981c commit bfb52c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/activity.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,6 +1514,8 @@ class Activity {
15141514
else if (ele.label === "Disable horizontal scrolling")
15151515
ele.display = true;
15161516
})
1517+
activity.textMsg(("Horizontal scrolling enabled."), 3000);
1518+
15171519
} else {
15181520
enableHorizScrollIcon.style.display = "block";
15191521
disableHorizScrollIcon.style.display = "none";
@@ -1524,6 +1526,8 @@ class Activity {
15241526
else if (ele.label === "Disable horizontal scrolling")
15251527
ele.display = false;
15261528
})
1529+
activity.textMsg(("Horizontal scrolling disabled."), 3000);
1530+
15271531
}
15281532
};
15291533

0 commit comments

Comments
 (0)