Преглед изворни кода

add favicon, remove soft limit

Tuan Nguyen пре 11 месеци
родитељ
комит
c68db6c6a6

+ 6 - 6
modules/core/pattern_manager.py

@@ -438,13 +438,13 @@ def move_polar(theta, rho):
         rho (_type_): _description_
     """
     # Adding soft limit to reduce hardware sound
-    soft_limit_inner = 0.01
-    if rho < soft_limit_inner:
-        rho = soft_limit_inner
+    # soft_limit_inner = 0.01
+    # if rho < soft_limit_inner:
+    #     rho = soft_limit_inner
     
-    soft_limit_outter = 0.015
-    if rho > (1-soft_limit_outter):
-        rho = (1-soft_limit_outter)
+    # soft_limit_outter = 0.015
+    # if rho > (1-soft_limit_outter):
+    #     rho = (1-soft_limit_outter)
     
     if state.table_type == 'dune_weaver_mini':
         x_scaling_factor = 2

BIN
static/android-chrome-192x192.png


BIN
static/android-chrome-512x512.png


BIN
static/apple-touch-icon.png


BIN
static/favicon-16x16.png


BIN
static/favicon-32x32.png


BIN
static/favicon.ico


+ 1 - 0
static/site.webmanifest

@@ -0,0 +1 @@
+{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

+ 4 - 0
templates/index.html

@@ -7,6 +7,10 @@
     <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
     <link rel="stylesheet" href="../static/css/style.css">
     <link rel="stylesheet" href="../static/css/all.min.css">
+    <link rel="apple-touch-icon" sizes="180x180" href="../static/apple-touch-icon.png">
+    <link rel="icon" type="image/png" sizes="32x32" href="../static/favicon-32x32.png">
+    <link rel="icon" type="image/png" sizes="16x16" href="../static/favicon-16x16.png">
+    <link rel="manifest" href="../static/site.webmanifest">
 </head>
 <body>
 <header>