Explorar el Código

Improve StatusBarCanvasDrawPanel's style detection.

Martijn Laan hace 2 semanas
padre
commit
4f925e0740
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Projects/Src/IDE.MainForm.pas

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

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