Defining defaultColor for annotations.
This commit is contained in:
parent
b09f2310ef
commit
14160ee4ca
@ -55,7 +55,7 @@ LeTextualSnippet >> contentAsStringAnnotated [
|
|||||||
ifNotNil: [ | colors |
|
ifNotNil: [ | colors |
|
||||||
colors := pageConfig at: 'annotationColors' ifAbsent: [ nil ].
|
colors := pageConfig at: 'annotationColors' ifAbsent: [ nil ].
|
||||||
colors ifNotNil: [
|
colors ifNotNil: [
|
||||||
color := colors at: type ifAbsent: [ 'default' ]
|
color := colors at: type ifAbsent: [ colors at: 'defaultColor' ifAbsentPut: ['default'] ]
|
||||||
]
|
]
|
||||||
].
|
].
|
||||||
substitutions
|
substitutions
|
||||||
|
Loading…
Reference in New Issue
Block a user