Implement workaround for Chromium autofill visual bug

This commit is contained in:
Flashfyre 2024-02-19 21:09:06 -05:00
parent 09e7fab141
commit 80a013bb52
2 changed files with 5 additions and 0 deletions

View File

@ -156,4 +156,8 @@ body {
#layout:fullscreen #dpad, #layout:fullscreen #apad {
bottom: 6rem;
}
input:-internal-autofill-selected {
-webkit-background-clip: text;
}

View File

@ -50,6 +50,7 @@ export abstract class FormModalUiHandler extends ModalUiHandler {
this.modalContainer.add(label);
const inputContainer = this.scene.add.container(70, (hasTitle ? 28 : 2) + 20 * f);
inputContainer.setVisible(false);
const inputBg = addWindow(this.scene, 0, 0, 80, 16, false, false, 0, 0, WindowVariant.XTHIN);