Fix waveform_view comment accuracy, cut duplicate comments, align xToFrame to OverlayArea
This commit is contained in:
@@ -45,8 +45,6 @@ static bool findNode(const std::vector<EnvVertex>& poly, EnvNode node, EnvVertex
|
||||
static Rect wideArea() { return Rect::ltrb(20, 10, 1020, 110); }
|
||||
static constexpr double kTotal = 2.0;
|
||||
|
||||
// nodeAtPoint/resolveNodeDrag take the overlay type, not a bare Rect (the distinct-type
|
||||
// enforcement in editor_geometry.h) — this wraps a plain test Rect for them.
|
||||
static OverlayArea overlayOf(const Rect& r) { return OverlayArea{r}; }
|
||||
static const double kGateSecPerPx = 1.0 / gatePxPerSecond(wideArea());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user