Using visualization options instead of hardcoded default values.
This commit is contained in:
parent
2a07efd48c
commit
aee8bc24d4
@ -613,7 +613,12 @@ TiddlyWiki >> networkView [
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> networkViewBackground [
|
||||
self configDictonary at: 'networkView' at: 'background' ifAbsentPut: [Color lightGray]
|
||||
^ self configDictonary at: 'networkView' at: 'background' ifAbsentPut: [Color lightGray]
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> networkViewForeground [
|
||||
^ self configDictonary at: 'networkView' at: 'background' ifAbsentPut: [Color blue]
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
@ -624,8 +629,8 @@ TiddlyWiki >> networkViewHighlightingCreator: creatorName [
|
||||
stencil: [ :each |
|
||||
| color size |
|
||||
color := (each creator = creatorName)
|
||||
ifTrue: [ Color blue ]
|
||||
ifFalse: [ Color lightGray ].
|
||||
ifTrue: [ self networkViewForeground ]
|
||||
ifFalse: [ self networkViewBackground ].
|
||||
size := 5 @ 5.
|
||||
BlElement new background: color; size: size ];
|
||||
with: self tiddlers.
|
||||
|
Loading…
Reference in New Issue
Block a user