Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 886f418

Browse files
Merge pull request #1924 from montegoulding/bugfix-19013
[[ Bug 19013 ]] Default PI color picker to RGB
2 parents 75daccf + 41075cd commit 886f418

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Toolset/palettes/inspector/editors/com.livecode.pi.color.behavior.livecodescript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on editorUpdate
1515
put the editorEffective of me into tEffective
1616

1717
lock messages
18-
if the number of items in tValue < 3 then
18+
if tValue is not empty and \
19+
the number of items in tValue < 3 then
1920
put true into sNamedColor
2021
put revIDENamedColorToRGB(tValue) into tValue
2122
else

notes/bugfix-19013.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Default PI color picker to RGB unless already set to color name

0 commit comments

Comments
 (0)