remove unused input handler map

This commit is contained in:
Eon S. Jeon 2018-11-10 16:45:53 +09:00
parent bab6f5cb5f
commit 86b300748c

View File

@ -159,14 +159,6 @@ class TilingEngine {
return null;
}
private buildInputHandlermap = () => {
const map = {};
map[UserInput.Down] = () => { this.moveFocus(+1); };
map[UserInput.Up] = () => { this.moveFocus(-1); };
map[UserInput.ShiftDown] = () => { this.moveTile(+1); };
map[UserInput.ShiftUp] = () => { this.moveTile(-1); };
}
private moveFocus = (step: number) => {
if (step === 0) return;