REFACTOR: Remove dead code (mouseMove)

We don't delegate `mouseMove` so this code has not been called in a long
time. It also seems that `screenX`/`screenY`/`lastX`/`lastY` was never
used so they were removed too.
This commit is contained in:
Robin Ward 2020-09-18 13:57:12 -04:00
parent ba3014f9f9
commit 9c1e21b874
3 changed files with 2 additions and 7 deletions

View File

@ -27,9 +27,4 @@ export default Component.extend({
}); });
}); });
}, },
mouseMove(e) {
this.set("screenX", e.screenX);
this.set("screenY", e.screenY);
},
}); });

View File

@ -1,4 +1,4 @@
{{#login-modal screenX=lastX screenY=lastY loginName=loginName loginPassword=loginPassword secondFactorToken=secondFactorToken action=(action "login")}} {{#login-modal loginName=loginName loginPassword=loginPassword secondFactorToken=secondFactorToken action=(action "login")}}
{{plugin-outlet name="login-before-modal-body" tagName=""}} {{plugin-outlet name="login-before-modal-body" tagName=""}}
{{#d-modal-body title="login.title" class=modalBodyClasses}} {{#d-modal-body title="login.title" class=modalBodyClasses}}
{{#if showLoginButtons}} {{#if showLoginButtons}}

View File

@ -1,4 +1,4 @@
{{#login-modal screenX=lastX screenY=lastY loginName=loginName loginPassword=loginPassword secondFactorToken=secondFactorToken action=(action "login")}} {{#login-modal loginName=loginName loginPassword=loginPassword secondFactorToken=secondFactorToken action=(action "login")}}
{{plugin-outlet name="login-before-modal-body" tagName=""}} {{plugin-outlet name="login-before-modal-body" tagName=""}}
{{#d-modal-body title="login.title" class=modalBodyClasses}} {{#d-modal-body title="login.title" class=modalBodyClasses}}