Skip to content

Commit

Permalink
🩹 #46 ペイン最大化時にタブが正しく描画されない問題を修正しました
Browse files Browse the repository at this point in the history
  • Loading branch information
hebiiro committed Feb 4, 2024
1 parent 51051ac commit 3e7bc06
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Nest/Pane/Pane.h
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,13 @@ namespace fgo::nest
break;
}
}

if (limited)
{
// 最大化モードで再描画を抑制中のときは
// タブコントロールが再描画されないので、手動で再描画します。
::InvalidateRect(tab, 0, FALSE);
}
}
// タブが1個以下なら
else
Expand All @@ -687,7 +694,7 @@ namespace fgo::nest
{
Shuttle* shuttle = getShuttle(i);

shuttle->resize(&rcDock); // シャトルをリサイズする
shuttle->resize(&rcDock); // シャトルをリサイズします
}

return; // シャトルを持つペインはボーダーも子ペインも持たないので、ここで処理を終了します。
Expand Down

0 comments on commit 3e7bc06

Please sign in to comment.