ancient chinese+black

This commit is contained in:
Sander Land committed 2021-01-05 17:26:29 +01:00
1 parent edd2c160c7
commit 282f492c4a
5 files changed
+8 -36

No files matched your search

+1 -8
View File
@@ -471,14 +471,7 @@ class BadukPanWidget(Widget):
)
if move_policy == best_move_policy:
Color(*Theme.TOP_MOVE_BORDER_COLOR[:3], Theme.POLICY_ALPHA)
Line(
circle=(
self.gridpos_x[x],
self.gridpos_y[y],
self.stone_size - dp(1.2),
),
width=dp(2),
)
Line(circle=(self.gridpos_x[x], self.gridpos_y[y], self.stone_size - dp(1.2)), width=dp(2))
with pass_btn.canvas.after:
move_policy = policy[-1]
+1 -5
View File
@@ -663,11 +663,7 @@ def cached_text_texture(text, font_name, markup, _cache={}, **kwargs):
def draw_text(pos, text, font_name=None, markup=False, **kwargs):
texture = cached_text_texture(text, font_name, markup, **kwargs)
Rectangle(
texture=texture,
pos=(pos[0] - texture.size[0] / 2, pos[1] - texture.size[1] / 2),
size=texture.size,
)
Rectangle(texture=texture, pos=(pos[0] - texture.size[0] / 2, pos[1] - texture.size[1] / 2), size=texture.size)
def draw_circle(pos, r, col):
+1 -5
View File
@@ -71,11 +71,7 @@ class ProgressLoader(BoxLayout):
Clock.schedule_once(self.animation_show, 1)
def animation_show(self, _dt):
animation = Animation(
opacity=1,
d=0.2,
t="out_quad",
)
animation = Animation(opacity=1, d=0.2, t="out_quad")
animation.start(self)
def request_download_file(self, url, path):