From a85fbd5295d0ccb764c59755f61074c2f792aa6b Mon Sep 17 00:00:00 2001 From: Vishal Date: Sat, 30 Sep 2023 09:39:09 +0530 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index af3fecab..5f9f9f77 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ height="50" alt="logo"> ***-ica***: collection of things relating to a specific theme. -![](https://github.com/efroemling/ballistica/workflows/CI/badge.svg) +[![](https://github.com/efroemling/ballistica/actions/workflows/ci.yml/badge.svg)](https://github.com/efroemling/ballistica/actions/workflows/ci.yml) The Ballistica project is the foundation for [BombSquad](https://www.froemling.net/apps/bombsquad) and potentially other From 6ba9d1622ab5b34b0fb659e6f0d9d75782ecf3cb Mon Sep 17 00:00:00 2001 From: Vishal Date: Sat, 30 Sep 2023 09:39:47 +0530 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5f9f9f77..4550a942 100644 --- a/README.md +++ b/README.md @@ -82,8 +82,8 @@ Playstation / My Toaster??** launch on at least iOS and Steam at that time. I'm trying to get there as fast as I can. As far as consoles, I'd love to and hope to at some point but have nothing to announce just yet. See the - * [Ballistica Roadmap](https://github.com/efroemling/ballistica/wiki/Roadmap) - for more details or check the [Ballistica + * Check out [Ballistica Roadmap](https://github.com/efroemling/ballistica/wiki/Roadmap) + for more details or the [Ballistica Downloads](https://ballistica.net/downloads) page for early test builds on some platforms. From 596e8ade19c6e390842a0a219b4146f450547018 Mon Sep 17 00:00:00 2001 From: Vishal Date: Sat, 30 Sep 2023 10:04:09 +0530 Subject: [PATCH 3/3] Update v2proxy.py --- .../ba_data/python/bauiv1lib/account/v2proxy.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/assets/ba_data/python/bauiv1lib/account/v2proxy.py b/src/assets/ba_data/python/bauiv1lib/account/v2proxy.py index 8f69dc32..7219823c 100644 --- a/src/assets/ba_data/python/bauiv1lib/account/v2proxy.py +++ b/src/assets/ba_data/python/bauiv1lib/account/v2proxy.py @@ -131,14 +131,17 @@ class V2ProxySignInWindow(bui.Window): else: bui.textwidget( parent=self._root_widget, - position=(self._width * 0.5, self._height - 145), - size=(0, 0), + position=(self._width * 0.5 - 200, self._height - 180), + size=(button_width - 50, 50), text=bui.Lstr(value=address_pretty), flatness=1.0, maxwidth=self._width, scale=0.75, h_align='center', v_align='center', + autoselect=True, + on_activate_call=bui.Call(self._copy_link, address_pretty), + selectable=True, ) qroffs = 20.0 @@ -231,5 +234,13 @@ class V2ProxySignInWindow(bui.Window): # We could do something smart like retry on exceptions here, but # this isn't critical so we'll just let anything slide. + def _copy_link(self, link: str) -> None: + if bui.clipboard_is_supported(): + bui.clipboard_set_text(link) + bui.screenmessage( + bui.Lstr(resource='copyConfirmText'), + color=(0, 1, 0) + ) + def _done(self) -> None: bui.containerwidget(edit=self._root_widget, transition='out_scale')