mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-03 00:06:40 +00:00
Fix print styles.
This commit is contained in:
parent
4a7b1a534c
commit
a40f927b66
@ -56,6 +56,7 @@ function CommonPrintEdgeStyle()
|
|||||||
this.textPadding = 4;
|
this.textPadding = 4;
|
||||||
this.textStrockeWidth = 2;
|
this.textStrockeWidth = 2;
|
||||||
}
|
}
|
||||||
|
CommonPrintEdgeStyle.prototype = Object.create(BaseEdgeStyle.prototype);
|
||||||
|
|
||||||
function SelectedEdgeStyle0()
|
function SelectedEdgeStyle0()
|
||||||
{
|
{
|
||||||
@ -129,7 +130,7 @@ function SelectedEdgePrintStyle()
|
|||||||
|
|
||||||
this.baseStyles.push("printed");
|
this.baseStyles.push("printed");
|
||||||
}
|
}
|
||||||
SelectedEdgeStyle0.prototype = Object.create(BaseEdgeStyle.prototype);
|
SelectedEdgePrintStyle.prototype = Object.create(BaseEdgeStyle.prototype);
|
||||||
|
|
||||||
var DefaultSelectedEdgeStyles = [new SelectedEdgeStyle0(), new SelectedEdgeStyle1(),
|
var DefaultSelectedEdgeStyles = [new SelectedEdgeStyle0(), new SelectedEdgeStyle1(),
|
||||||
new SelectedEdgeStyle2(), new SelectedEdgeStyle3(), new SelectedEdgeStyle4()];
|
new SelectedEdgeStyle2(), new SelectedEdgeStyle3(), new SelectedEdgeStyle4()];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user