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