ancient chinese+black

This commit is contained in:
Sander Land committed 2021-01-05 17:23:23 +01:00
1 parent fa12547dcb
commit edd2c160c7
25 files changed
+51 -12

No files matched your search

+6 -1
View File
@@ -472,7 +472,12 @@ 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),
circle=(
self.gridpos_x[x],
self.gridpos_y[y],
self.stone_size - dp(1.2),
),
width=dp(2),
)
with pass_btn.canvas.after:
+3 -1
View File
@@ -664,7 +664,9 @@ 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,
texture=texture,
pos=(pos[0] - texture.size[0] / 2, pos[1] - texture.size[1] / 2),
size=texture.size,
)
+1 -2
View File
@@ -315,8 +315,7 @@ class LinkTree(TreeView):
class I18NFileBrowser(BoxLayout):
"""I18NFileBrowser class, see module documentation for more information.
"""
"""I18NFileBrowser class, see module documentation for more information."""
__events__ = ("on_success", "on_submit")
+5 -1
View File
@@ -71,7 +71,11 @@ 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):