Fix background color for setup style dialogs.

This commit is contained in:
Unick Soft 2019-09-08 09:57:26 +02:00
parent 290306e924
commit 1abf19abbf

View File

@ -1143,8 +1143,8 @@ SetupVertexStyle.prototype.show = function(index)
context.save();
context.fillStyle = "#FFFFFF";
context.fillRect(0, 0, canvas.width, canvas.height);
var backgroundDrawer = new BaseBackgroundDrawer(context);
backgroundDrawer.Draw(app.backgroundCommonStyle, canvas.width, canvas.height, new Point(0, 0), 1.0);
var graphDrawer = new BaseVertexDrawer(context);
var baseVertex = new BaseVertex(canvas.width / 2, canvas.height / 2, new BaseEnumVertices(this));
@ -1242,8 +1242,8 @@ SetupEdgeStyle.prototype.show = function(index)
context.save();
context.fillStyle = "#FFFFFF";
context.fillRect(0, 0, canvas.width, canvas.height);
var backgroundDrawer = new BaseBackgroundDrawer(context);
backgroundDrawer.Draw(app.backgroundCommonStyle, canvas.width, canvas.height, new Point(0, 0), 1.0);
var graphDrawer = new BaseEdgeDrawer(context);
var baseVertex1 = new BaseVertex(0, canvas.height / 2, new BaseEnumVertices(this));