Skip to content

Commit

Permalink
Also emit event when autohiding
Browse files Browse the repository at this point in the history
  • Loading branch information
Corwin Kerr committed Dec 2, 2024
1 parent 9ec6acc commit 73cf053
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/widget_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ exports.swipeOn = function(autohide) {
let cb;
if (exports.autohide > 0) cb = function() {
exports.hideTimeout = setTimeout(function() {
Bangle.emit("widgets-start-hide");
anim(-4);
}, exports.autohide);
};
Expand Down

0 comments on commit 73cf053

Please sign in to comment.