Browse Source

Allow Ctrl-dragging input, although it doesn't do anything different

from normal dragging
tags/v0.5.0
Andrew Belt 7 years ago
parent
commit
215f967595
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      src/app/Port.cpp

+ 2
- 5
src/app/Port.cpp View File

@@ -65,11 +65,8 @@ void Port::onMouseDown(EventMouseDown &e) {
void Port::onDragStart(EventDragStart &e) { void Port::onDragStart(EventDragStart &e) {
// Try to grab wire on top of stack // Try to grab wire on top of stack
WireWidget *wire = gRackWidget->wireContainer->getTopWire(this); WireWidget *wire = gRackWidget->wireContainer->getTopWire(this);
if (guiIsModPressed()) {
if (type == INPUT)
return;
else
wire = NULL;
if (type == OUTPUT && guiIsModPressed()) {
wire = NULL;
} }


if (wire) { if (wire) {


Loading…
Cancel
Save