diff --git a/program/MapWindow.cs b/program/MapWindow.cs index 667aaa4..5a8e5f1 100644 --- a/program/MapWindow.cs +++ b/program/MapWindow.cs @@ -1023,6 +1023,15 @@ MapArea.QueueDraw(); UpdateTunerInfo(); UpdateOutputButton(AudioOutput.Current(), null); // headphones may have been plugged in since + // 解説を見る: hidden when the case only has the placeholder image C999.png + if (MapExplainButton != null) + { + string manual = def.ManualFile ?? ""; + bool placeholder = System.IO.Path.GetFileName(manual) + .Equals("C999.png", StringComparison.OrdinalIgnoreCase); + MapExplainButton.NoShowAll = true; // keeps ShowAll() from showing it again + MapExplainButton.Visible = !placeholder; + } UpdateContactChip(true); if (!AppMode.Legacy)