Canvas is originally white
Posted: Mon Feb 06, 2023 2:04 am
I have a black theme. When you start the program, Canvas is initially white. There is time to process the data before drawing it to the Canvas. Before the Canvas is filled it is white for one second. Is it possible to make Canvas initially black. I found style only sbCanvasBorder. I searched all the "background" tags (446 pieces) and there is no light color anywhere. At the moment I have done this:
I tried to style it myself, but it didn't help.
Code: Select all
CanvasGadget(#cnv, 0, 70, s*7, s*6)
If StartDrawing(CanvasOutput(#cnv))
Box(0, 0, s*7, s*6, $1e2021)
StopDrawing()
EndIf
Code: Select all
.dijitCanvas {
background: #333;
background-color: #333;
}