🐛[bugfix] Model : overlay fadeの処理を修正

overlay ONを複数起動しないように修正
This commit is contained in:
misyaguziya
2024-12-02 09:53:40 +09:00
parent 0639be0ea3
commit 93a1a5230b
3 changed files with 8 additions and 174 deletions

View File

@@ -1167,7 +1167,8 @@ class Controller:
@staticmethod
def setEnableOverlaySmallLog(*args, **kwargs) -> dict:
config.OVERLAY_SMALL_LOG = True
model.startOverlay()
if config.OVERLAY_LARGE_LOG is False:
model.startOverlay()
return {"status":200, "result":config.OVERLAY_SMALL_LOG}
@staticmethod
@@ -1196,7 +1197,8 @@ class Controller:
@staticmethod
def setEnableOverlayLargeLog(*args, **kwargs) -> dict:
config.OVERLAY_LARGE_LOG = True
model.startOverlay()
if config.OVERLAY_SMALL_LOG is False:
model.startOverlay()
return {"status":200, "result":config.OVERLAY_LARGE_LOG}
@staticmethod