From 53ff9621ff8e459a81650a1aaacc62f366b6fbef Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Fri, 16 Oct 2020 17:45:00 -0700 Subject: [PATCH] Sequencer: Fix bug in fitting scale to viewport. --- sequencer/src/canvas.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sequencer/src/canvas.C b/sequencer/src/canvas.C index 73db6df..d8789c1 100644 --- a/sequencer/src/canvas.C +++ b/sequencer/src/canvas.C @@ -292,7 +292,7 @@ Canvas::_update_row_mapping ( void ) else m.maxh = 128; - m.vp->h = min( m.vp->h, m.maxh ); + m.vp->h = max( m.vp->h, m.maxh ); resize_grid(); }