summaryrefslogtreecommitdiffstats
path: root/src/gui/SubpatchModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-08 01:19:22 +0000
committerDavid Robillard <d@drobilla.net>2011-12-08 01:19:22 +0000
commite8158f68d8dd77cd7767080ed85a813199c02554 (patch)
treefb7afd85f8d92a70e4cbfa009f5b563252248051 /src/gui/SubpatchModule.cpp
parent89c181f67cb5ec7373148b438c8db0acee5c7b84 (diff)
downloadingen-e8158f68d8dd77cd7767080ed85a813199c02554.tar.gz
ingen-e8158f68d8dd77cd7767080ed85a813199c02554.tar.bz2
ingen-e8158f68d8dd77cd7767080ed85a813199c02554.zip
Fix node moving (inform user via "moved" signal).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3833 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/SubpatchModule.cpp')
-rw-r--r--src/gui/SubpatchModule.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/SubpatchModule.cpp b/src/gui/SubpatchModule.cpp
index 51c41493..6d4f48e8 100644
--- a/src/gui/SubpatchModule.cpp
+++ b/src/gui/SubpatchModule.cpp
@@ -61,10 +61,10 @@ SubpatchModule::on_double_click(GdkEventButton* event)
}
void
-SubpatchModule::store_location()
+SubpatchModule::store_location(double ax, double ay)
{
- const Atom x(static_cast<float>(get_x()));
- const Atom y(static_cast<float>(get_y()));
+ const Atom x(static_cast<float>(ax));
+ const Atom y(static_cast<float>(ay));
const URIs& uris = app().uris();