15-May megacz Resources.java: fixed a bug in download-size calculation.
+15-May megacz SpecialBoxProperty.java: added required extra dirty()
+ call, extra checking on textcolor.
+
}
public void put(Box b, Object value) {
int newtextcolor = b.color;
- String s = value == null ? null : value.toString();
+ if (value == null) return;
+ String s = value.toString();
if (s.length() > 0 && s.charAt(0) == '#')
newtextcolor = 0xFF000000 |
(Integer.parseInt(s.substring(1, 3), 16) << 16) |
*/
}
+ // FIXME: don't know why this is needed
+ b.dirty();
+
b.text = t;
b.textupdate();
b.dirty();