Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2021-11-07 14:22:50 +01:00 committed by GitHub
parent bd64fe31fe
commit 43131fd770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -7554,8 +7554,8 @@ module.exports = (_ => {
handleMouseEnter(e) {if (typeof this.props.onMouseEnter == "function") this.props.onMouseEnter(e, this);}
handleMouseLeave(e) {if (typeof this.props.onMouseLeave == "function") this.props.onMouseLeave(e, this);}
handleNumberButton(ins, value) {
BDFDB.TimeUtils.clear(ins.pressedTimeout);
ins.pressedTimeout = BDFDB.TimeUtils.timeout(_ => {
BDFDB.TimeUtils.clear(this.pressedTimeout);
this.pressedTimeout = BDFDB.TimeUtils.timeout(_ => {
delete this.props.focused;
BDFDB.ReactUtils.forceUpdate(this);
}, 1000);