draply-dev 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/overlay.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "draply-dev",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Visual overlay for any frontend project — move, resize, restyle live in the browser, save to CSS",
5
5
  "author": "Arman",
6
6
  "type": "commonjs",
package/src/overlay.js CHANGED
@@ -1095,9 +1095,9 @@
1095
1095
  function populateColors(el) {
1096
1096
  const cs = getComputedStyle(el);
1097
1097
  clrElName.textContent = el.tagName.toLowerCase() + (el.id ? '#' + el.id : el.className ? '.' + [...el.classList][0] : '');
1098
- const bg = cs.backgroundColor;
1099
- const fg = cs.color || '#000000';
1100
- const bd = cs.borderColor || '#cccccc';
1098
+ let bg = cs.backgroundColor;
1099
+ let fg = cs.color || '#000000';
1100
+ let bd = cs.borderColor || '#cccccc';
1101
1101
  const bw = cs.borderWidth;
1102
1102
 
1103
1103
  // #14: Support SVG fill/stroke (#14)