Moved loading ripple to centre upon enter press rather than click
This commit is contained in:
parent
01ae44487c
commit
4394bee302
@ -617,9 +617,12 @@ class LoginSection extends connect(store)(LitElement) {
|
|||||||
|
|
||||||
// First decrypt...
|
// First decrypt...
|
||||||
this.loadingRipple.welcomeMessage = this.renderPrepareText()
|
this.loadingRipple.welcomeMessage = this.renderPrepareText()
|
||||||
|
const x = e.clientX !== undefined ? e.clientX : e.explicitOriginalTarget.getBoundingClientRect().left + window.scrollX
|
||||||
|
const y = e.clientY !== undefined ? e.clientY : e.explicitOriginalTarget.getBoundingClientRect().top + window.scrollY
|
||||||
|
|
||||||
this.loadingRipple.open({
|
this.loadingRipple.open({
|
||||||
x: e.clientX,
|
x: x,
|
||||||
y: e.clientY
|
y: y
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
const source = this.walletSources[type]()
|
const source = this.walletSources[type]()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user