🐛[bugfix] Config: javascriptでint/floatの型指定ができないためconfigでsetter時にfloatにキャストするように修正
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user