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:
Binary file not shown.
@@ -162,6 +162,8 @@ namespace AIImages
|
|||||||
totalSteps = 0;
|
totalSteps = 0;
|
||||||
etaSeconds = 0.0;
|
etaSeconds = 0.0;
|
||||||
|
|
||||||
|
DebugLogger.Log($"[AI Images] Cleared generated image for {newPawn?.Name}");
|
||||||
|
|
||||||
// Сбрасываем состояние сворачиваемых секций
|
// Сбрасываем состояние сворачиваемых секций
|
||||||
showPositivePrompt = false;
|
showPositivePrompt = false;
|
||||||
showNegativePrompt = false;
|
showNegativePrompt = false;
|
||||||
@@ -177,6 +179,9 @@ namespace AIImages
|
|||||||
this.InitialSize.y
|
this.InitialSize.y
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Принудительно перерисовываем окно
|
||||||
|
this.SetInitialSizeAndPosition();
|
||||||
|
|
||||||
DebugLogger.Log($"[AI Images] UpdatePawn completed for {newPawn?.Name}");
|
DebugLogger.Log($"[AI Images] UpdatePawn completed for {newPawn?.Name}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user