🐛[bugfix] Config: javascriptでint/floatの型指定ができないためconfigでsetter時にfloatにキャストするように修正

This commit is contained in:
misyaguziya
2024-10-24 12:01:58 +09:00
parent 0c7a59c5d8
commit 1ab715ac49
2 changed files with 10 additions and 10 deletions

View File

@@ -593,7 +593,7 @@ class Controller:
@staticmethod
def setMessageBoxRatio(data, *args, **kwargs) -> dict:
config.MESSAGE_BOX_RATIO = float(data)
config.MESSAGE_BOX_RATIO = data
return {"status":200, "result":config.MESSAGE_BOX_RATIO}
@staticmethod