Skip to content

Commit 9bd9344

Browse files
author
Corwin Kerr
committed
Also emit event when autohiding
1 parent 413b33f commit 9bd9344

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/widget_utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ exports.swipeOn = function(autohide) {
158158
let cb;
159159
if (exports.autohide > 0) cb = function() {
160160
exports.hideTimeout = setTimeout(function() {
161+
Bangle.emit("widgets-start-hide");
161162
anim(-4);
162163
}, exports.autohide);
163164
};

0 commit comments

Comments
 (0)