From 484d6ae6c7d8eebdc1202b3205c2be8239b2a99e Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Thu, 8 May 2014 15:02:03 +1000 Subject: [PATCH] Show No Graph, or No Graphs On messages centered, since there is no cube --- sleepyhead/Graphs/gGraphView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sleepyhead/Graphs/gGraphView.cpp b/sleepyhead/Graphs/gGraphView.cpp index 3fd693e3..0b07961b 100644 --- a/sleepyhead/Graphs/gGraphView.cpp +++ b/sleepyhead/Graphs/gGraphView.cpp @@ -1305,7 +1305,8 @@ void gGraphView::paintGL() redrawtimer->stop(); } - bool render_cube = PROFILE.appearance->animations(); // do something to + bool render_cube = false; //PROFILE.appearance->animations(); // do something to + if (width() <= 0) { return; } if (height() <= 0) { return; }