invert y axis and fix tracker text

This commit is contained in:
2024-12-02 11:10:23 +01:00
parent 3bc9d80cdf
commit 742338f515
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ def get_elapsed_time_ms():
def pic_to_scene_coords(x, y):
return x / 200, y / 200
return x / 200, - y / 200
async def update_all_clients(app: web.Application):

View File

@@ -54,5 +54,5 @@
style={`transform: translate(${x}px, ${y}px)`}
class="absolute flex h-40 w-40 touch-none items-center justify-center rounded-full border-red-400 bg-red-400"
>
dragable
Tracker {id}
</div>