projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added snap to grid drag behaviour
[pulseview.git]
/
pv
/
view
/
view.cpp
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index b6add2ee294fa911bf7d4cca5a2b30ccdb78c7db..0a31e808f20d9e78603994584677631ff1b94c13 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-53,6
+53,7
@@
const int View::RulerHeight = 30;
const int View::MaxScrollValue = INT_MAX / 2;
const int View::SignalHeight = 50;
+const int View::SignalSnapGridSize = 10;
const QColor View::CursorAreaColour(220, 231, 243);