resize fix
This commit is contained in:
1 parent
df2638341a
commit
dfda7d4d30
2 files changed
+4
-3
No files matched your search
@@ -14,8 +14,8 @@ PORT = int(sys.argv[1]) if len(sys.argv) > 1 else 8587
|
||||
ENGINE_SETTINGS = {
|
||||
"katago": "my/katago25",
|
||||
# "katago": "KataGo/katago",
|
||||
"model": "KataGo/models/b15-1.3.2.txt.gz",
|
||||
"config": "KataGo/analysis_config.cfg",
|
||||
"model": "katrain/models/g170e-b15c192-s1672170752-d466197061.bin.gz",
|
||||
"config": "katrain/KataGo/analysis_config.cfg",
|
||||
"max_visits": 50,
|
||||
"max_time": 1.0,
|
||||
"_enable_ownership": False,
|
||||
|
||||
@@ -111,7 +111,7 @@ class StyledSpinner(Spinner):
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
self.fbind("size", self._update_dropdown_size_frac)
|
||||
self.fbind("size", lambda s,dt: Clock.schedule_once(self._update_dropdown_size_frac,0) )
|
||||
|
||||
def _update_dropdown_size_frac(self, *largs):
|
||||
if not self.sync_height_frac:
|
||||
@@ -129,6 +129,7 @@ class StyledSpinner(Spinner):
|
||||
item.font_size = fsz
|
||||
|
||||
|
||||
|
||||
class ToggleButtonContainer(GridLayout):
|
||||
__events__ = ("on_selection",)
|
||||
|
||||
|
||||
Reference in new issue
Block a user