summaryrefslogtreecommitdiffstats
path: root/src/ganv-private.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-04 00:08:59 +0000
committerDavid Robillard <d@drobilla.net>2014-01-04 00:08:59 +0000
commit86e10680c0f0c4d9f421ece6ec84cd898913af79 (patch)
treee41813b556b61a6ed9bd37c7a88690892ca166ab /src/ganv-private.h
parentcac7e4e5e5b4ad8331ba75649dcc84ead3f4a5b4 (diff)
downloadganv-86e10680c0f0c4d9f421ece6ec84cd898913af79.tar.gz
ganv-86e10680c0f0c4d9f421ece6ec84cd898913af79.tar.bz2
ganv-86e10680c0f0c4d9f421ece6ec84cd898913af79.zip
Fix select rectangle drag from bottom right to top left.
Simplify layout code. Calculate rectangle distance instead of center distance to minimize overlap. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5250 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ganv-private.h')
-rw-r--r--src/ganv-private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ganv-private.h b/src/ganv-private.h
index 1bbdddd..fdcd210 100644
--- a/src/ganv-private.h
+++ b/src/ganv-private.h
@@ -116,8 +116,7 @@ struct _GanvNodeImpl {
#ifdef GANV_FDGL
Vector force;
Vector vel;
- gboolean has_in_edges;
- gboolean has_out_edges;
+ gboolean connected;
#endif
};