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

Commit 726bcc3

Browse files
committed
[[ Bug 20071 ]] Make default handler name grey
1 parent 8cd4aa9 commit 726bcc3

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Toolset/palettes/script editor/behaviors/revsehandlerlistbehavior.livecodescript

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ function handlerTypeSortCallback pItem
129129
end switch
130130
end handlerTypeSortCallback
131131

132+
constant kDefaultHandlerTextColor = "#777777"
132133

133134
# Description
134135
# Called when the group might need to be updated. Updates the handler list. Also resizes the group.
@@ -207,6 +208,11 @@ command update
207208
put merge("<sup shift=2><img src=[[tICon]]></img></sup>") after tText
208209
end if
209210

211+
if not tHandlerExists then
212+
put merge("<font color='[[kDefaultHandlerTextColor]]'>[[tParseHandler]]</font>") \
213+
into tParseHandler
214+
end if
215+
210216
put tParseHandler & "</p>" after tText
211217
end repeat
212218

notes/bugfix-20071.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Make default handler name text grey

0 commit comments

Comments
 (0)