#include "insets/RenderPreview.h"
#include "graphics/PreviewImage.h"
+#include "graphics/PreviewLoader.h"
#include "frontends/Painter.h"
ColorCode InsetMathHull::backgroundColor(PainterInfo const & pi) const
{
if (previewState(pi.base.bv))
- return Color_background;
+ return graphics::PreviewLoader::backgroundColor();
return Color_mathbg;
}