echo3/echo3 — Issue #11: Bug fix: Sync.js: Echo.Sync.Font.renderClear()
Author: bschmid
Created: 2011-11-02 17:28:35+00:00
State: open

Bug & Fix reported on http://echo.nextapp.com/site/node/6689

The Echo.Sync.Font.renderClear() method is inappropriately removing line-through text decorations on buttons when they are pressed, etc. Here is the diff showing the fix:

```
Index: Echo3/Sync.js
===================================================================
--- Echo3/Sync.js (revision 9195)
+++ Echo3/Sync.js (working copy)
@@ -1168,7 +1168,7 @@
if (!font.typeface) {
element.style.fontFamily = "";
}
- if (!font.underline) {
+ if (!font.underline && !font.overline && !font.lineThrough) {
element.style.textDecoration = "";
}
if (!font.bold) {
```