Skip to content

Keep SystemHeat PAW stable when flux changes - #184

Open
maddavo wants to merge 2 commits into
KSPModStewards:masterfrom
maddavo:fix-systemflux-ui-flicker-upstream
Open

Keep SystemHeat PAW stable when flux changes#184
maddavo wants to merge 2 commits into
KSPModStewards:masterfrom
maddavo:fix-systemflux-ui-flicker-upstream

Conversation

@maddavo

@maddavo maddavo commented Sep 9, 2026

Copy link
Copy Markdown

Fixes #151

Summary

Keep the SystemHeat part-action-window layout stable when system flux changes or briefly reaches zero in the editor.

Problem

ModuleSystemHeat.Update() was showing or hiding the System Temperature field every frame based on totalSystemFlux > 0. When the editor simulation temporarily changed the flux value, the field appeared and disappeared, causing the remaining PAW fields and controls to move continuously.

Change

Keep the System Temperature field visible while the SystemHeat module is enabled. Its displayed value continues to update normally, while module enable/disable state remains responsible for the field's visibility.

Verification

  • Tested in KSP with the affected editor workflow.
  • Built SystemHeat.csproj in Release configuration.
  • Build completed with zero errors and zero warnings.
  • Compared against upstream master: one file changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Heat Exchange UI flickers in editor

1 participant