Remove debug lines
This commit is contained in:
parent
06d138866f
commit
1b22bcefaa
|
@ -248,12 +248,11 @@ namespace SparkleShare {
|
||||||
html = html.Replace ("<!-- $body-font-family -->", StyleContext.GetFont (StateFlags.Normal).Family);
|
html = html.Replace ("<!-- $body-font-family -->", StyleContext.GetFont (StateFlags.Normal).Family);
|
||||||
html = html.Replace ("<!-- $body-font-size -->", (double) (StyleContext.GetFont (StateFlags.Normal).Size / 1024 + 3) + "px");
|
html = html.Replace ("<!-- $body-font-size -->", (double) (StyleContext.GetFont (StateFlags.Normal).Size / 1024 + 3) + "px");
|
||||||
html = html.Replace ("<!-- $body-color -->", SparkleUIHelpers.RGBAToHex (StyleContext.GetColor (StateFlags.Normal)));
|
html = html.Replace ("<!-- $body-color -->", SparkleUIHelpers.RGBAToHex (StyleContext.GetColor (StateFlags.Normal)));
|
||||||
|
|
||||||
|
// TODO
|
||||||
// html = html.Replace ("<!-- $body-background-color -->",
|
// html = html.Replace ("<!-- $body-background-color -->",
|
||||||
// SparkleUIHelpers.RGBAToHex (new TreeView ().StyleContext.GetStyleProperty ("background-color")));
|
// SparkleUIHelpers.RGBAToHex (new TreeView ().StyleContext.GetStyleProperty ("background-color")));
|
||||||
|
|
||||||
Console.WriteLine(new TreeView ().StyleContext.GetStyleProperty ("background-color"));
|
|
||||||
Console.WriteLine(StyleContext.GetStyleProperty ("color"));
|
|
||||||
|
|
||||||
html = html.Replace ("<!-- $day-entry-header-font-size -->", (StyleContext.GetFont (StateFlags.Normal).Size / 1024 + 3) + "px");
|
html = html.Replace ("<!-- $day-entry-header-font-size -->", (StyleContext.GetFont (StateFlags.Normal).Size / 1024 + 3) + "px");
|
||||||
html = html.Replace ("<!-- $day-entry-header-background-color -->",
|
html = html.Replace ("<!-- $day-entry-header-background-color -->",
|
||||||
SparkleUIHelpers.RGBAToHex (StyleContext.GetBackgroundColor (StateFlags.Normal)));
|
SparkleUIHelpers.RGBAToHex (StyleContext.GetBackgroundColor (StateFlags.Normal)));
|
||||||
|
|
Loading…
Reference in a new issue