summaryrefslogtreecommitdiff
path: root/tikzit/src/osx/NodeLayer.h
diff options
context:
space:
mode:
authorJohan Paulsson <gonz@badcode.net>2014-03-25 20:41:44 +0000
committerJohan Paulsson <gonz@badcode.net>2014-03-25 20:41:44 +0000
commit1e65c32b799b7ca262f266737a867240eeb451f8 (patch)
tree821fb1da406de281b9753af56c589f3f849cdce0 /tikzit/src/osx/NodeLayer.h
parent32cb63c5115d1eaa1422114861514293ddd74f6d (diff)
fixing a couple of attributes that stopped selectable nodes from showing
Diffstat (limited to 'tikzit/src/osx/NodeLayer.h')
-rw-r--r--tikzit/src/osx/NodeLayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tikzit/src/osx/NodeLayer.h b/tikzit/src/osx/NodeLayer.h
index d2a943b..dbcdac5 100644
--- a/tikzit/src/osx/NodeLayer.h
+++ b/tikzit/src/osx/NodeLayer.h
@@ -30,7 +30,7 @@
#import "NodeSelectionLayer.h"
@interface NodeLayer : CALayer {
- Node *__weak node;
+ Node *node;
Shape *shape;
CGMutablePathRef path;
float textwidth;
@@ -42,7 +42,7 @@
BOOL dirty; // need to rebuild CGBezierPath of the shape
}
-@property (weak) Node *node;
+@property (strong) Node *node;
@property (assign) NSPoint center;
@property (assign) BOOL rescale;
@property (strong) NodeSelectionLayer *selection;