From 0e28234b8ee1eb1f699cb8661e62eefe74898b2a Mon Sep 17 00:00:00 2001 From: Jakob Voigts <jvoigts@mit.edu> Date: Fri, 26 Feb 2016 23:45:32 -0500 Subject: [PATCH] add debug info --- Source/Plugins/LfpDisplayNode/LfpDisplayCanvas.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Plugins/LfpDisplayNode/LfpDisplayCanvas.cpp b/Source/Plugins/LfpDisplayNode/LfpDisplayCanvas.cpp index e28c48c46..90c6b396e 100644 --- a/Source/Plugins/LfpDisplayNode/LfpDisplayCanvas.cpp +++ b/Source/Plugins/LfpDisplayNode/LfpDisplayCanvas.cpp @@ -1636,7 +1636,8 @@ void LfpDisplay::setChannelHeight(int r, bool resetSingle) } if (resetSingle && singleChan != -1) { - setSize(getWidth(),numChans*getChannelHeight()); + std::cout << "width " << getWidth() << " numchans " << numChans << " height " << getChannelHeight() << std::endl; + setSize(getWidth(),numChans*ch); viewport->setScrollBarsShown(true,false); viewport->setViewPosition(Point<int>(0,singleChan*r)); singleChan = -1; -- GitLab