Browse Source

Call Switch::onDragStart super method.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
86c08cf195
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/app/Switch.cpp

+ 2
- 0
src/app/Switch.cpp View File

@@ -42,6 +42,8 @@ void Switch::onDoubleClick(const DoubleClickEvent& e) {
}

void Switch::onDragStart(const DragStartEvent& e) {
ParamWidget::onDragStart(e);

if (e.button != GLFW_MOUSE_BUTTON_LEFT)
return;



Loading…
Cancel
Save