[ease] Fixed text color in HTML export.
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] Fixed text color in HTML export.
- Date: Wed, 2 Jun 2010 22:48:55 +0000 (UTC)
commit 068c1eefff180a9ed04d19334dd273b88291d95c
Author: Nate Stedman <natesm gmail com>
Date: Wed Jun 2 18:48:49 2010 -0400
Fixed text color in HTML export.
src/Element.vala | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/Element.vala b/src/Element.vala
index 07edabf..eb10810 100644
--- a/src/Element.vala
+++ b/src/Element.vala
@@ -109,12 +109,8 @@ public class Ease.Element : GLib.Object
html += " position: absolute;";
// set the text-specific properties of the element
- string c = data.get("color");
- if (c.length > 7) // clip the string if alpha is included
- {
- c = c.substring(0, 7);
- }
- html += " color:" + c + ";";
+ html += " color:" +
+ @"rgb($(color.red),$(color.green),$(color.blue));";
html += " font-family:'" + data.get("font_name") +
"', sans-serif;";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]