const std::shared_ptr<RowItem> row_item((*i).first);
if (row_item) {
const int y = (*i).second + delta;
- const int y_snap =
- ((y + View::SignalSnapGridSize / 2) /
- View::SignalSnapGridSize) *
- View::SignalSnapGridSize;
- row_item->set_v_offset(y_snap);
+ row_item->set_v_offset(y);
// Ensure the trace is selected
row_item->select();
const int View::SignalHeight = 30;
const int View::SignalMargin = 10;
-const int View::SignalSnapGridSize = 10;
const QColor View::CursorAreaColour(220, 231, 243);
public:
static const int SignalHeight;
static const int SignalMargin;
- static const int SignalSnapGridSize;
static const QColor CursorAreaColour;