mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 08:20:35 +02:00
Small decoration improvement in cdtrackbar
git-svn-id: trunk@32516 -
This commit is contained in:
parent
b9ed244eab
commit
a0e87f7faa
@ -1985,7 +1985,7 @@ begin
|
||||
ADest.Brush.Style := bsSolid;
|
||||
ADest.Pen.Style := psSolid;
|
||||
ADest.Pen.FPColor := colBlack;
|
||||
if i + CDTrackBar.Min = CDTrackBar.Position then
|
||||
if i + CDTrackBar.Min <= CDTrackBar.Position then
|
||||
ADest.Brush.FPColor := colDkGray
|
||||
else
|
||||
ADest.Brush.FPColor := colWhite;
|
||||
|
Loading…
Reference in New Issue
Block a user