Skip to content
Snippets Groups Projects
Commit 4ba483e2 authored by jsiegle's avatar jsiegle
Browse files

Improve code for SpikeDisplay layout

parent b34cc613
Branches
Tags
No related merge requests found
......@@ -240,9 +240,7 @@ void SpikeDisplayCanvas::refreshState()
// called when the component's tab becomes visible again
// displayBufferIndex = processor->getDisplayBufferIndex();
// screenBufferIndex = 0;
//resized();
//totalScrollPix = 0;
resized();
}
void SpikeDisplayCanvas::resized()
......@@ -369,7 +367,7 @@ void SpikeDisplay::resized()
}
totalHeight = (int) height*(float(row)+1);
totalHeight = (int) (height*(float(row)+1));
if (totalHeight < getHeight())
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment