bugfix
This commit is contained in:
parent
6372d86065
commit
86d2f0cd7a
@ -15,6 +15,7 @@ from kivy.metrics import sp,dp,mm
|
|||||||
from kivy.core.window import WindowBase, Window
|
from kivy.core.window import WindowBase, Window
|
||||||
from kivy.clock import Clock
|
from kivy.clock import Clock
|
||||||
from kivy.logger import Logger
|
from kivy.logger import Logger
|
||||||
|
from kivy.utils import platform
|
||||||
|
|
||||||
import kivy
|
import kivy
|
||||||
import plyer
|
import plyer
|
||||||
@ -137,6 +138,8 @@ class BlocksApp(App):
|
|||||||
return self.csses.get(name,self.csses.get('default',{}))
|
return self.csses.get(name,self.csses.get('default',{}))
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
|
self.platform = platform
|
||||||
|
self.is_desktop = platform in ['win', 'linux', 'macosx']
|
||||||
config = getConfig()
|
config = getConfig()
|
||||||
self.csses = {
|
self.csses = {
|
||||||
"default":{
|
"default":{
|
||||||
|
Loading…
Reference in New Issue
Block a user