ancient chinese+black
This commit is contained in:
1 parent
fa12547dcb
commit
edd2c160c7
25 files changed
+51
-12
No files matched your search
@@ -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:
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user