mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 09:40:28 +02:00
IDE/Options: Fix some suspicious copy-paste and probably a debugging leftover
(cherry picked from commit 8986b1b0b9
)
This commit is contained in:
parent
ce32bdf1c8
commit
84b7bb2ca4
@ -592,7 +592,6 @@ begin
|
|||||||
ForeAlphaLabel.Visible := ForeAlphaSpin.Visible;
|
ForeAlphaLabel.Visible := ForeAlphaSpin.Visible;
|
||||||
if FCurHighlightElement.ForeAlpha = 0 then begin
|
if FCurHighlightElement.ForeAlpha = 0 then begin
|
||||||
ForeAlphaSpin.Value := 256; // Off
|
ForeAlphaSpin.Value := 256; // Off
|
||||||
Application.ProcessMessages;
|
|
||||||
ForeAlphaSpin.Caption := dlgEdOff;
|
ForeAlphaSpin.Caption := dlgEdOff;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@ -628,7 +627,7 @@ begin
|
|||||||
else
|
else
|
||||||
BackAlphaSpin.Value := FCurHighlightElement.BackAlpha;
|
BackAlphaSpin.Value := FCurHighlightElement.BackAlpha;
|
||||||
|
|
||||||
BackPriorSpin.Visible := ForegroundColorBox.Visible and FShowPrior and
|
BackPriorSpin.Visible := BackGroundColorBox.Visible and FShowPrior and
|
||||||
(hafPrior in FCurHighlightElement.Features);
|
(hafPrior in FCurHighlightElement.Features);
|
||||||
BackPriorLabel.Visible := BackPriorSpin.Visible;
|
BackPriorLabel.Visible := BackPriorSpin.Visible;
|
||||||
BackPriorSpin.Value := FCurHighlightElement.BackPriority;
|
BackPriorSpin.Value := FCurHighlightElement.BackPriority;
|
||||||
@ -660,7 +659,7 @@ begin
|
|||||||
else
|
else
|
||||||
FrameAlphaSpin.Value := FCurHighlightElement.FrameAlpha;
|
FrameAlphaSpin.Value := FCurHighlightElement.FrameAlpha;
|
||||||
|
|
||||||
FramePriorSpin.Visible := ForegroundColorBox.Visible and FShowPrior and
|
FramePriorSpin.Visible := FrameColorBox.Visible and FShowPrior and
|
||||||
(hafPrior in FCurHighlightElement.Features);
|
(hafPrior in FCurHighlightElement.Features);
|
||||||
FramePriorLabel.Visible := FramePriorSpin.Visible;
|
FramePriorLabel.Visible := FramePriorSpin.Visible;
|
||||||
FramePriorSpin.Value := FCurHighlightElement.FramePriority;
|
FramePriorSpin.Value := FCurHighlightElement.FramePriority;
|
||||||
|
Loading…
Reference in New Issue
Block a user