Merge branch '1.7.1' of github.com:sanderland/katrain into 1.7.1
This commit is contained in:
commit
8a14219768
27 files changed
+55
-20
No files matched your search
@@ -471,9 +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]
|
||||
|
||||
@@ -663,9 +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):
|
||||
|
||||
@@ -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,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):
|
||||
|
||||
Reference in new issue
Block a user