We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7c7183 commit 48658b2Copy full SHA for 48658b2
1 file changed
Source/Plugins/LfpDisplayNodeAlpha/LfpDisplayCanvas.cpp
@@ -133,7 +133,9 @@ void LfpDisplayCanvas::resizeSamplesPerPixelBuffer(int numCh)
133
void LfpDisplayCanvas::toggleOptionsDrawer(bool isOpen)
134
{
135
optionsDrawerIsOpen = isOpen;
136
+ auto viewportPosition = viewport->getViewPositionY(); // remember viewport position
137
resized();
138
+ viewport->setViewPosition(0, viewportPosition); // return viewport position
139
}
140
141
void LfpDisplayCanvas::resized()
0 commit comments