[bugfix] VRCTウィンドウUI Size40%でもOSウィンドウサイズを超える場合は、確認モーダルが永遠出てしまうのを修正。そういう環境を作れずテストはできていないが、まぁ想定外すぎるディスプレイサイズなので。

This commit is contained in:
Sakamoto Shiina
2023-10-19 09:06:40 +09:00
parent 7eee38f107
commit 2b0476c8b9

View File

@@ -593,7 +593,8 @@ class View():
index = self.view_variable.LIST_UI_SCALING.index(str(target_percentage) + "%")
callFunctionIfCallable(self.view_variable.CALLBACK_SET_UI_SCALING, self.view_variable.LIST_UI_SCALING[index])
callFunctionIfCallable(self.view_variable.CALLBACK_RESTART_SOFTWARE)
else:
self._hideConfirmationModal()
# ※Below 40% of the UI size is not supported, and we cannot handle it at this time.