We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2713811 + 8465946 commit 8632f3dCopy full SHA for 8632f3d
1 file changed
Source/Plugins/LfpDisplayNodeBeta/LfpDisplayCanvas.cpp
@@ -1808,6 +1808,9 @@ void LfpDisplay::paint(Graphics& g)
1808
1809
void LfpDisplay::refresh()
1810
{
1811
+ // Ensure the lfpChannelBitmap has been initialized
1812
+ if (lfpChannelBitmap.isNull()) { resized(); }
1813
+
1814
// X-bounds of this update
1815
int fillfrom = canvas->lastScreenBufferIndex[0];
1816
int fillto = (canvas->screenBufferIndex[0]);
0 commit comments