mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-04 00:36:45 +00:00
Fix background color for setup style dialogs.
This commit is contained in:
parent
290306e924
commit
1abf19abbf
@ -1143,8 +1143,8 @@ SetupVertexStyle.prototype.show = function(index)
|
|||||||
|
|
||||||
context.save();
|
context.save();
|
||||||
|
|
||||||
context.fillStyle = "#FFFFFF";
|
var backgroundDrawer = new BaseBackgroundDrawer(context);
|
||||||
context.fillRect(0, 0, canvas.width, canvas.height);
|
backgroundDrawer.Draw(app.backgroundCommonStyle, canvas.width, canvas.height, new Point(0, 0), 1.0);
|
||||||
|
|
||||||
var graphDrawer = new BaseVertexDrawer(context);
|
var graphDrawer = new BaseVertexDrawer(context);
|
||||||
var baseVertex = new BaseVertex(canvas.width / 2, canvas.height / 2, new BaseEnumVertices(this));
|
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.save();
|
||||||
|
|
||||||
context.fillStyle = "#FFFFFF";
|
var backgroundDrawer = new BaseBackgroundDrawer(context);
|
||||||
context.fillRect(0, 0, canvas.width, canvas.height);
|
backgroundDrawer.Draw(app.backgroundCommonStyle, canvas.width, canvas.height, new Point(0, 0), 1.0);
|
||||||
|
|
||||||
var graphDrawer = new BaseEdgeDrawer(context);
|
var graphDrawer = new BaseEdgeDrawer(context);
|
||||||
var baseVertex1 = new BaseVertex(0, canvas.height / 2, new BaseEnumVertices(this));
|
var baseVertex1 = new BaseVertex(0, canvas.height / 2, new BaseEnumVertices(this));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user