diff cagou/core/widgets_handler.py @ 177:9835cafbd909

widgets handler: use dark secondary color for split
author Goffi <goffi@goffi.org>
date Tue, 01 May 2018 16:55:51 +0200
parents 27b4ceb977c7
children b6e33b35538b
line wrap: on
line diff
--- a/cagou/core/widgets_handler.py	Tue May 01 16:54:42 2018 +0200
+++ b/cagou/core/widgets_handler.py	Tue May 01 16:55:51 2018 +0200
@@ -29,6 +29,7 @@
 from kivy.metrics import dp
 from kivy import properties
 from cagou import G
+from cagou.core.constants import Const as C
 
 
 REMOVE_WID_LIMIT = dp(10)
@@ -40,7 +41,7 @@
     split_size = properties.NumericProperty(dp(1))
     split_margin = properties.NumericProperty(dp(2))
     split_color = properties.ListProperty([0.8, 0.8, 0.8, 1])
-    split_color_move = properties.ListProperty([0.0, 0.8, 0.8, 1])
+    split_color_move = C.COLOR_SEC_DARK
     split_color_del = properties.ListProperty([0.8, 0.0, 0.0, 1])
     # sp stands for "split point"
     sp_size = properties.NumericProperty(dp(1))