Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Forcing SD polyfill rendering after design change.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Aug 20, 2014
1 parent f1f1342 commit 3b1aee4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elements/design-canvas/design-canvas.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
:host {
position: relative;
outline: none;
display: block;
background-image: url(grid.png);
-webkit-user-select: none
}
Expand Down Expand Up @@ -70,6 +71,8 @@
// communication

notifyChange: function() {
// force polyfill rendering.
this.offsetHeight;
this.fire('design-change', this);
},

Expand Down
1 change: 1 addition & 0 deletions elements/designer-element/designer-element.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ core-icon-button.rotate {
background-color: #f2f2f2;
color: #a9a9a9;
border-bottom: 1px solid #ccc;
display: block;
}

:host /deep/ #tabs > * {
Expand Down

0 comments on commit 3b1aee4

Please sign in to comment.