Defining defaultColor for annotations.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2024-01-03 08:01:43 -05:00
parent b09f2310ef
commit 14160ee4ca

View File

@ -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