Skip to content

Commit

Permalink
feat: added a product info when export single layer
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagohernandez committed Aug 22, 2023
1 parent dc7de63 commit 18c1193
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/renderer/views/LayoutEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1515,8 +1515,11 @@ class LayoutEditor extends React.Component {
isReadOnly = currentLayer < keymap.default.length;
layerData = isReadOnly ? keymap.default[currentLayer] : keymap.custom[currentLayer - keymap.default.length];
}
const focus = new Focus();
const { info } = focus.device;
const data = JSON.stringify(
{
device: info,
layerNames,
keymap: layerData,
colormap: this.state.colorMap[currentLayer],
Expand Down

0 comments on commit 18c1193

Please # to comment.