From 4881b12e16252f31038c0e356c32abcac0bb4935 Mon Sep 17 00:00:00 2001 From: Offray Date: Fri, 31 May 2024 14:11:47 -0500 Subject: [PATCH] Foreground config for data visualization. --- repository/TiddlyWiki/TiddlyWiki.class.st | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/repository/TiddlyWiki/TiddlyWiki.class.st b/repository/TiddlyWiki/TiddlyWiki.class.st index eaad2a5..6b41794 100644 --- a/repository/TiddlyWiki/TiddlyWiki.class.st +++ b/repository/TiddlyWiki/TiddlyWiki.class.st @@ -626,7 +626,7 @@ TiddlyWiki >> networkView [ { #category : #accessing } TiddlyWiki >> networkViewBackground [ - ^ self configDictionary at: 'networkView' at: 'background' ifAbsentPut: [Color lightGray] + ^ self config at: 'networkView' at: 'background' ifAbsentPut: [Color lightGray] ] { #category : #accessing } @@ -636,7 +636,12 @@ TiddlyWiki >> networkViewBackground: aColor [ { #category : #accessing } TiddlyWiki >> networkViewForeground [ - ^ self configDictionary at: 'networkView' at: 'foreground' ifAbsentPut: [Color blue] + ^ self config at: 'networkView' at: 'foreground' ifAbsentPut: [Color blue] +] + +{ #category : #accessing } +TiddlyWiki >> networkViewForeground: aColor [ + self config at: 'networkView' at: 'foreground' put: aColor. ] { #category : #accessing }