Remove _onMessage (#1265)
This commit is contained in:
parent
04d53e5642
commit
de5d3ec3ad
@ -169,12 +169,6 @@ class HotkeyHandler extends EventDispatcher {
|
||||
|
||||
// Private
|
||||
|
||||
_onMessage({action, params}, sender, callback) {
|
||||
const messageHandler = this._messageHandlers.get(action);
|
||||
if (typeof messageHandler === 'undefined') { return false; }
|
||||
return yomichan.invokeMessageHandler(messageHandler, params, callback, sender);
|
||||
}
|
||||
|
||||
_onKeyDown(e) {
|
||||
const key = e.code;
|
||||
const hotkeyInfo = this._hotkeys.get(key);
|
||||
|
Loading…
Reference in New Issue
Block a user