From 7e0fae1b3c12be290a304f2dcf1a9fc793fdc51f Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Tue, 12 Jul 2011 17:30:51 +0200 Subject: commented 2 line of code which really isn't needed in the menu painting process --- src/gui/fpg_menu.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui') diff --git a/src/gui/fpg_menu.pas b/src/gui/fpg_menu.pas index 313f7102..545d7581 100644 --- a/src/gui/fpg_menu.pas +++ b/src/gui/fpg_menu.pas @@ -1010,9 +1010,9 @@ begin Canvas.BeginDraw; // inherited HandlePaint; Canvas.Clear(BackgroundColor); - Canvas.SetColor(clWindowBackground); - Canvas.DrawRectangle(0, 0, Width, Height); // black rectangle border - Canvas.DrawButtonFace(1, 1, Width-1, Height-1, []); // 3d rectangle inside black border +// Canvas.SetColor(clBlack); +// Canvas.DrawRectangle(0, 0, Width, Height); // black rectangle border + Canvas.DrawButtonFace(0, 0, Width, Height, []); // 3d rectangle inside black border for n := 0 to VisibleCount-1 do DrawRow(n, n = FFocusItem); -- cgit v1.2.3-70-g09d2