diff options
author | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-16 16:38:35 +0000 |
---|---|---|
committer | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-16 16:38:35 +0000 |
commit | 525059964fbaf380ad2c3079b965d64e7c6d06d1 (patch) | |
tree | 12f0dda7ee8a3d32b20ca038461287ed58c94378 /tikzit/src/common/NodeStyle.m | |
parent | 69ab4ccc98cfd63cc10099de0393dc675b20b646 (diff) |
Some cleanup before calculating proper head and tail endpoints for Edge
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@379 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'tikzit/src/common/NodeStyle.m')
-rw-r--r-- | tikzit/src/common/NodeStyle.m | 3 |
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]; |