🐛[bugfix] model : overlay 200回表示後のリセット処理でエラーが発生した場合のみエラーログを保存するように修正
This commit is contained in:
@@ -128,11 +128,14 @@ class Overlay:
|
||||
try:
|
||||
self.overlay.setOverlayRaw(self.handle[size], img, width, height, 4)
|
||||
except Exception:
|
||||
errorLogging()
|
||||
self.reStartOverlay()
|
||||
while self.initialized is False:
|
||||
time.sleep(0.1)
|
||||
try:
|
||||
self.overlay.setOverlayRaw(self.handle[size], img, width, height, 4)
|
||||
except Exception:
|
||||
errorLogging()
|
||||
|
||||
self.updateOpacity(self.settings[size]["opacity"], size)
|
||||
self.lastUpdate[size] = time.monotonic()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user