Remove debug lines

This commit is contained in:
Hylke Bons 2016-03-28 16:49:04 +01:00
parent 06d138866f
commit 1b22bcefaa

View file

@ -248,11 +248,10 @@ namespace SparkleShare {
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-color -->", SparkleUIHelpers.RGBAToHex (StyleContext.GetColor (StateFlags.Normal)));
// html = html.Replace ("<!-- $body-background-color -->",
// SparkleUIHelpers.RGBAToHex (new TreeView ().StyleContext.GetStyleProperty ("background-color")));
Console.WriteLine(new TreeView ().StyleContext.GetStyleProperty ("background-color"));
Console.WriteLine(StyleContext.GetStyleProperty ("color"));
// TODO
// html = html.Replace ("<!-- $body-background-color -->",
// SparkleUIHelpers.RGBAToHex (new TreeView ().StyleContext.GetStyleProperty ("background-color")));
html = html.Replace ("<!-- $day-entry-header-font-size -->", (StyleContext.GetFont (StateFlags.Normal).Size / 1024 + 3) + "px");
html = html.Replace ("<!-- $day-entry-header-background-color -->",