Enhance AIImages mod by adding debug logging for image clearing and window redraw events, improving visibility into state changes. Update AIImages.dll to reflect these changes.
This commit is contained in:
@@ -162,6 +162,8 @@ namespace AIImages
|
||||
totalSteps = 0;
|
||||
etaSeconds = 0.0;
|
||||
|
||||
DebugLogger.Log($"[AI Images] Cleared generated image for {newPawn?.Name}");
|
||||
|
||||
// Сбрасываем состояние сворачиваемых секций
|
||||
showPositivePrompt = false;
|
||||
showNegativePrompt = false;
|
||||
@@ -177,6 +179,9 @@ namespace AIImages
|
||||
this.InitialSize.y
|
||||
);
|
||||
|
||||
// Принудительно перерисовываем окно
|
||||
this.SetInitialSizeAndPosition();
|
||||
|
||||
DebugLogger.Log($"[AI Images] UpdatePawn completed for {newPawn?.Name}");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user