mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 23:29:25 +02:00
toolbutton: dont draw rectangle around divider in design mode
git-svn-id: trunk@13905 -
This commit is contained in:
parent
221f810ea1
commit
543c7bfaab
@ -340,7 +340,7 @@ begin
|
||||
end;
|
||||
|
||||
// draw separator (at runtime: just space, at designtime: a rectangle)
|
||||
if (Style in [tbsSeparator,tbsDivider]) and (csDesigning in ComponentState) then
|
||||
if (Style = tbsSeparator) and (csDesigning in ComponentState) then
|
||||
begin
|
||||
Canvas.Brush.Color := clBackground;
|
||||
Canvas.Pen.Color := clBlack;
|
||||
|
Loading…
Reference in New Issue
Block a user