Skip to content

Commit

Permalink
Minor tweak to gui
Browse files Browse the repository at this point in the history
  • Loading branch information
john-sharratt committed Mar 3, 2024
1 parent 2ae6f60 commit a657320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/web/dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><meta content="text/html; charset=utf-8" http-equiv=Content-Type><meta content="width=device-width,initial-scale=1.0,user-scalable=no" name=viewport><title>Immutable Bank</title><script type=module>import a,*as b from"/immutable-bank-web-68aba5e1ab8addd0.js";a(`/immutable-bank-web-68aba5e1ab8addd0_bg.wasm`);window.wasmBindings=b</script><base href=/><link href=/favicon-f402c8741ce815ec.ico integrity=sha384-jNOAE6jgE03LznIulCTVP6BH4NrTuROFjP9wj8bV1UUMJKtZAvstFpIAP3PDcFpx rel=icon><link href=manifest.json rel=manifest><link href=icon_ios_touch_192.png rel=apple-touch-icon><meta media="(prefers-color-scheme: light)" content=white name=theme-color><meta media="(prefers-color-scheme: dark)" content=#404040 name=theme-color><style>html{touch-action:manipulation}body{background:#909090}@media (prefers-color-scheme:dark){body{background:#404040}}html,body{width:100%;height:100%;overflow:hidden;margin:0!important;padding:0!important}canvas{margin-left:auto;margin-right:auto;display:block;position:absolute;top:0%;left:50%;transform:translate(-50%)}.centered{color:#f0f0f0;text-align:center;margin-left:auto;margin-right:auto;font-family:Ubuntu-Light,Helvetica,sans-serif;font-size:24px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.lds-dual-ring{width:24px;height:24px;display:inline-block}.lds-dual-ring:after{content:" ";border:3px solid #fff;border-color:#fff #0000;border-radius:50%;width:24px;height:24px;margin:0;animation:1.2s linear infinite lds-dual-ring;display:block}@keyframes lds-dual-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}</style><link as=fetch crossorigin href=/immutable-bank-web-68aba5e1ab8addd0_bg.wasm integrity=sha384-rRCUY20q_uZ8qsJVfBB7sPgK4-p1klHmuTYhlgk0k1n654bQIPZ4OGQQxjhcSYCD rel=preload type=application/wasm><link crossorigin href=/immutable-bank-web-68aba5e1ab8addd0.js integrity=sha384-49Z1kaFmAo1lAwjvamM-HU3r7ke9AT7yRr6FwERdaqZzOv6OCYjshdhHUphW8l8j rel=modulepreload></head><body><canvas id=the_canvas_id></canvas><script>if(`serviceWorker` in navigator&&window.location.hash!==`#dev`){window.addEventListener(`load`,(()=>{navigator.serviceWorker.register(`sw.js`)}))}</script></body></html>
<!doctype html><meta content="text/html; charset=utf-8" http-equiv=Content-Type><meta content="width=device-width,initial-scale=1.0,user-scalable=no" name=viewport><title>Immutable Bank</title><script type=module>import a,*as b from"/immutable-bank-web-af6eea043f7cbb72.js";a(`/immutable-bank-web-af6eea043f7cbb72_bg.wasm`);window.wasmBindings=b</script><base href=/><link href=/favicon-f402c8741ce815ec.ico integrity=sha384-jNOAE6jgE03LznIulCTVP6BH4NrTuROFjP9wj8bV1UUMJKtZAvstFpIAP3PDcFpx rel=icon><link href=manifest.json rel=manifest><link href=icon_ios_touch_192.png rel=apple-touch-icon><meta media="(prefers-color-scheme: light)" content=white name=theme-color><meta media="(prefers-color-scheme: dark)" content=#404040 name=theme-color><style>html{touch-action:manipulation}body{background:#909090}@media (prefers-color-scheme:dark){body{background:#404040}}html,body{width:100%;height:100%;overflow:hidden;margin:0!important;padding:0!important}canvas{margin-left:auto;margin-right:auto;display:block;position:absolute;top:0%;left:50%;transform:translate(-50%)}.centered{color:#f0f0f0;text-align:center;margin-left:auto;margin-right:auto;font-family:Ubuntu-Light,Helvetica,sans-serif;font-size:24px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.lds-dual-ring{width:24px;height:24px;display:inline-block}.lds-dual-ring:after{content:" ";border:3px solid #fff;border-color:#fff #0000;border-radius:50%;width:24px;height:24px;margin:0;animation:1.2s linear infinite lds-dual-ring;display:block}@keyframes lds-dual-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}</style><link as=fetch crossorigin href=/immutable-bank-web-af6eea043f7cbb72_bg.wasm integrity=sha384-8f0WpixiNbvDeMEgdW9aRynVGg0y8ZUL98UEHFo32vmt78Eydr7PmnGg3pUA_WGF rel=preload type=application/wasm><link crossorigin href=/immutable-bank-web-af6eea043f7cbb72.js integrity=sha384-HlQGB4akicWzAiiMM5-4V9vmZ2bMIkSMrKN9UqRwvUr-NwMLDI56nKa-DYmalWFk rel=modulepreload></head><body><canvas id=the_canvas_id></canvas><script>if(`serviceWorker` in navigator&&window.location.hash!==`#dev`){window.addEventListener(`load`,(()=>{navigator.serviceWorker.register(`sw.js`)}))}</script></body></html>
1 change: 1 addition & 0 deletions crates/web/src/render/send_money.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ impl LocalApp {
.ui(ui);

let res = egui::TextEdit::singleline(&mut self.to_bank).ui(ui);
self.to_bank = self.to_bank.to_lowercase();

if focus_to {
if !is_mobile(ui) {
Expand Down

0 comments on commit a657320

Please sign in to comment.