Browse Source

Moved loading ripple to centre upon enter press rather than click

pull/42/head
irontiga 2 years ago
parent
commit
4394bee302
  1. 7
      qortal-ui-core/src/components/login-view/login-section.js

7
qortal-ui-core/src/components/login-view/login-section.js

@ -617,9 +617,12 @@ class LoginSection extends connect(store)(LitElement) {
// First decrypt...
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({
x: e.clientX,
y: e.clientY
x: x,
y: y
})
.then(() => {
const source = this.walletSources[type]()

Loading…
Cancel
Save