Skip to content

Commit

Permalink
added notification for horizontal scrolling (#4142)
Browse files Browse the repository at this point in the history
* added notification for horizontal scrolling

* added notification on horizontal scroll

* added notification for horizontal scroll

* horizontal scrolling notification added
  • Loading branch information
subhas-pramanik-09 authored Dec 14, 2024
1 parent 211981c commit bfb52c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -1514,6 +1514,8 @@ class Activity {
else if (ele.label === "Disable horizontal scrolling")
ele.display = true;
})
activity.textMsg(("Horizontal scrolling enabled."), 3000);

} else {
enableHorizScrollIcon.style.display = "block";
disableHorizScrollIcon.style.display = "none";
Expand All @@ -1524,6 +1526,8 @@ class Activity {
else if (ele.label === "Disable horizontal scrolling")
ele.display = false;
})
activity.textMsg(("Horizontal scrolling disabled."), 3000);

}
};

Expand Down

0 comments on commit bfb52c5

Please sign in to comment.