Quellcode durchsuchen

Minimun resolution factor 6

9and3r vor 10 Jahren
Ursprung
Commit
f4074da9e1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      mopidy_touchscreen/__init__.py

+ 1 - 1
mopidy_touchscreen/__init__.py

@@ -24,7 +24,7 @@ class Extension(ext.Extension):
         schema = super(Extension, self).get_config_schema()
         schema['screen_width'] = config.Integer(minimum=1)
         schema['screen_height'] = config.Integer(minimum=1)
-        schema['resolution_factor'] = config.Integer(minimum=0)
+        schema['resolution_factor'] = config.Integer(minimum=6)
         schema['cursor'] = config.Boolean()
         schema['fullscreen'] = config.Boolean()
         schema['cache_dir'] = config.Path()