diff cagou/core/cagou_main.py @ 131:36fc269e2a32

core: changed default background color to white
author Goffi <goffi@goffi.org>
date Fri, 06 Apr 2018 16:12:58 +0200
parents 0ec3c3c0ed92
children 8a0019ce3632
line wrap: on
line diff
--- a/cagou/core/cagou_main.py	Fri Apr 06 16:12:14 2018 +0200
+++ b/cagou/core/cagou_main.py	Fri Apr 06 16:12:58 2018 +0200
@@ -64,6 +64,12 @@
 import cagou.kv
 from kivy import utils as kivy_utils
 import sys
+from kivy.core.window import Window
+
+# we want white background by default
+Window.clearcolor = (1, 1, 1, 1)
+
+
 if kivy_utils.platform == "android":
     # FIXME: move to separate android module
     kivy.support.install_android()