Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Temporary workaround for transform issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Worie committed Feb 15, 2017
1 parent 36c356e commit 24b2e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LiveDevelopment/Agents/RemoteFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ function RemoteFunctions(config, remoteWSPort) {

// Applies to every visualisationElement (padding or margin div)
arr[i]["box-sizing"] = "border-box";
arr[i]["transform"] = "none";
var el = window.document.createElement("div"),
styles = Object.assign(
{},
Expand Down Expand Up @@ -433,8 +434,7 @@ function RemoteFunctions(config, remoteWSPort) {
"border-width": "1px",
"border-color": "#00a2ff",
"box-shadow": "0 0 1px #fff",
"box-sizing": "border-box",
"transform": elementStyling.getPropertyValue('transform')
"box-sizing": "border-box"
};

var mergedStyles = Object.assign({}, stylesToSet, config.remoteHighlight.stylesToSet);
Expand Down

0 comments on commit 24b2e6b

Please sign in to comment.