Browse Source

Use Ctrl/Cmd+Drag on an output to create a new cable

tags/v0.4.0
Andrew Belt 7 years ago
parent
commit
ed90da923c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/app/Port.cpp

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

@@ -1,4 +1,5 @@
#include "app.hpp"
#include "gui.hpp"


namespace rack {
@@ -34,7 +35,7 @@ void Port::onDragStart() {
// Try to grab wire on top of stack
WireWidget *wire = gRackWidget->wireContainer->getTopWire(this);

if (wire) {
if (wire && !guiIsModPressed()) {
// Disconnect existing wire
if (type == INPUT)
wire->inputPort = NULL;


Loading…
Cancel
Save