Skip to content

Commit

Permalink
Logic is hard, let’s go shopping.
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Feb 15, 2025
1 parent b26f3f4 commit 02b9087
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ksp_plugin_adapter/main_window.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,10 @@ protected override void RenderWindowContents(int window_id) {
L10N.CacheFormat(
"#Principia_MainWindow_Declutter_UnpinnedMarkers"))) {
if (show_unpinned_markers) {
frames_that_hide_unpinned_markers.Remove(
frames_that_hide_unpinned_markers.Add(
plotting_frame_parameters);
} else {
frames_that_hide_unpinned_markers.Add(
frames_that_hide_unpinned_markers.Remove(
plotting_frame_parameters);
}
}
Expand All @@ -275,10 +275,10 @@ protected override void RenderWindowContents(int window_id) {
L10N.CacheFormat(
"#Principia_MainWindow_Declutter_UnpinnedCelestials"))) {
if (show_unpinned_celestials) {
frames_that_hide_unpinned_celestials.Remove(
frames_that_hide_unpinned_celestials.Add(
plotting_frame_parameters);
} else {
frames_that_hide_unpinned_celestials.Add(
frames_that_hide_unpinned_celestials.Remove(
plotting_frame_parameters);
}
}
Expand Down

0 comments on commit 02b9087

Please sign in to comment.