summaryrefslogtreecommitdiff
path: root/tikzit/src/common/NodeStyle.m
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/common/NodeStyle.m')
-rw-r--r--tikzit/src/common/NodeStyle.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/tikzit/src/common/NodeStyle.m b/tikzit/src/common/NodeStyle.m
index d3e8f09..a2d22c7 100644
--- a/tikzit/src/common/NodeStyle.m
+++ b/tikzit/src/common/NodeStyle.m
@@ -26,11 +26,12 @@
@implementation NodeStyle
++ (int) defaultStrokeThickness { return 1; }
- (id)init {
self = [super initWithNotificationName:@"NodeStylePropertyChanged"];
if (self != nil) {
- strokeThickness = 1;
+ strokeThickness = [NodeStyle defaultStrokeThickness];
scale = 1.0f;
strokeColorRGB = [[ColorRGB alloc] initWithRed:0 green:0 blue:0];
fillColorRGB = [[ColorRGB alloc] initWithRed:255 green:255 blue:255];