Skip to content

Commit 9e52755

Browse files
jmcouffinCopilot
andauthored
Update extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton/script.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 798ca1b commit 9e52755

File tree

1 file changed

+1
-1
lines changed
  • extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton

1 file changed

+1
-1
lines changed

extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1923,10 +1923,10 @@ def get_color_shades(base_color, apply_line, apply_foreground, apply_background)
19231923
"""
19241924
r, g, b = base_color.Red, base_color.Green, base_color.Blue
19251925

1926-
# Foreground and background always use the full base color to match UI swatches
19271926
foreground_color = base_color
19281927
background_color = base_color
19291928

1929+
19301930
# Line color is faded when used with other types, otherwise uses base color
19311931
if apply_line and (apply_foreground or apply_background):
19321932
# When line is used with pattern colors, make line color more faded

0 commit comments

Comments
 (0)