From e197a36f2d35b3b5dd65839223a2436127d1b525 Mon Sep 17 00:00:00 2001 From: Sander Land Date: Sat, 16 May 2020 18:26:01 +0200 Subject: [PATCH] kv 1.10 --- katrain/gui.kv | 11 +++++++---- setup.py | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/katrain/gui.kv b/katrain/gui.kv index 4ee34c1..47ffa2b 100644 --- a/katrain/gui.kv +++ b/katrain/gui.kv @@ -1,4 +1,4 @@ -#:kivy 1.11.0 +#:kivy 1.10.0 #:import ew kivy.uix.effectwidget #:set PLAYER_MODES ['Human', 'Teach','AI'] @@ -243,15 +243,18 @@ Line: points: [root.pos[0]+self.width*root.marginx,root.whalf,root.pos[0]+self.width*(1-root.marginx),root.whalf] width: 1.0 - dashes: [1,2] + dash_length: 1 + dash_offset: 2 Line: points: [root.pos[0]+self.width*root.marginx,root.mid,root.pos[0]+self.width*(1-root.marginx),root.mid] width: 1.0 - dashes: [4,4] + dash_length: 4 + dash_offset: 4 Line: points: [root.pos[0]+self.width*root.marginx,root.bhalf,root.pos[0]+self.width*(1-root.marginx),root.bhalf] width: 1.0 - dashes: [1,2] + dash_length: 1 + dash_offset: 2 Line: rectangle: [root.pos[0] + root.marginx * self.width, root.pos[1] + root.marginy*self.height, self.width*(1-2*root.marginx), root.height*(1-2*root.marginy)] canvas.after: diff --git a/setup.py b/setup.py index 457ac85..2b1653e 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup( url="https://github.com/sanderland/katrain", license="MIT", install_requires=[ - "kivy>=1.11,<2", + "kivy>=1.10,<2", "kivy_deps.glew;platform_system=='Windows'", "kivy_deps.sdl2;platform_system=='Windows'", "kivy_deps.gstreamer;platform_system=='Windows'",