Make debugger raster window background black
Make debugger raster window background black. This helps to understand where the picture boundaries are. It is probably more common for pictures to have non-black background vs non-white background. This makes raster window similar to opengl window. Review URL: https://codereview.chromium.org/816363002
This commit is contained in:
parent
eeb4e26093
commit
534c63ea91
@ -14,7 +14,7 @@ SkRasterWidget::SkRasterWidget(SkDebugger *debugger) : QWidget() {
|
||||
fDevice = new SkBitmapDevice(fBitmap);
|
||||
fDebugger = debugger;
|
||||
fCanvas = new SkCanvas(fDevice);
|
||||
this->setStyleSheet("QWidget {background-color: white; border: 1px solid #cccccc;}");
|
||||
this->setStyleSheet("QWidget {background-color: black; border: 1px solid #cccccc;}");
|
||||
}
|
||||
|
||||
SkRasterWidget::~SkRasterWidget() {
|
||||
|
Loading…
Reference in New Issue
Block a user