Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
support round-tripping
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Jan 29, 2014
1 parent 270c1e2 commit d539374
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reflection.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ function reflectObject(obj, meta) {

function reflectStyles(element, meta) {
if (element) {
return reflectObject(element.style, meta);
//return reflectObject(element.style, meta);
return reflectObject(element.__styleRule.style, meta);
}
}

Expand Down
2 changes: 2 additions & 0 deletions x-inspector.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<property name="backgroundColor" kind="color"></property>
<property name="opacity" kind="range" min="0" max="1" step="0.1" defaultvalue="1"></property>
<property name="border"></property>
<property name="left"></property>
<property name="top"></property>
<property name="width"></property>
<property name="height"></property>
<!-- <property name="test" kind="tk-compound-editor"></property> -->
Expand Down

0 comments on commit d539374

Please sign in to comment.