فهرست منبع

Improve StatusBarCanvasDrawPanel's style detection.

Martijn Laan 2 هفته پیش
والد
کامیت
4f925e0740
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Projects/Src/IDE.MainForm.pas

+ 1 - 1
Projects/Src/IDE.MainForm.pas

@@ -7458,7 +7458,7 @@ begin
         end;
         end;
         var Color: TColor := FTheme.Colors[tcFore];
         var Color: TColor := FTheme.Colors[tcFore];
         const LStyle = TStyleManager.ActiveStyle;
         const LStyle = TStyleManager.ActiveStyle;
-        if LStyle <> nil then begin
+        if not LStyle.IsSystemStyle then begin
           const Details = LStyle.GetElementDetails(tsPane);
           const Details = LStyle.GetElementDetails(tsPane);
           LStyle.GetElementColor(Details, ecTextColor, Color);
           LStyle.GetElementColor(Details, ecTextColor, Color);
         end;
         end;