Skip to content

Commit

Permalink
Merge pull request #852 from Dygmalab/fixRaise2NeuronLayoutEditor
Browse files Browse the repository at this point in the history
Chore: Removed Neuron representation from Raise2/Layout Editor
  • Loading branch information
alexpargon authored Jul 30, 2024
2 parents 59b8bf5 + 3446bf1 commit b0e6dbf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
18 changes: 0 additions & 18 deletions src/api/hardware-dygma-raise2-ansi/components/Keymap-ANSI.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,24 +332,6 @@ class KeymapANSI extends React.Component {
height={showUnderglow || isStandardView ? 705 : 480}
width={1222}
>
<Neuron
selectedLED={selectedLED}
visibility={!!(showUnderglow || isStandardView)}
clickAble={!(isStandardView && !showUnderglow)}
color="#b4b4b4"
id="neuron_led"
onClick={e => {
setUndeglowIndex(144, e);
}}
className="key"
fill={getColor(144)}
stroke={stroke(144)}
strokeWidth={getStrokeWidth(144)}
dataLedIndex={getLEDIndex(144)}
dataKeyIndex={keyIndex(144)}
dataLayer={layer}
/>

<g id="keyshapes">
<Key
keyType="regularKey"
Expand Down
17 changes: 0 additions & 17 deletions src/api/hardware-dygma-raise2-iso/components/Keymap-ISO.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,23 +340,6 @@ class KeymapISO extends React.Component {
height={showUnderglow || isStandardView ? 705 : 480}
width={1222}
>
<Neuron
selectedLED={selectedLED}
visibility={!!(showUnderglow || isStandardView)}
clickAble={!(isStandardView && !showUnderglow)}
color="#b4b4b4"
id="neuron_led"
onClick={e => {
setUndeglowIndex(144, e);
}}
className="key"
fill={getColor(144)}
stroke={stroke(144)}
strokeWidth={getStrokeWidth(144)}
dataLedIndex={getLEDIndex(144)}
dataKeyIndex={keyIndex(144)}
dataLayer={layer}
/>
<g id="keyshapes">
<Key
keyType="regularKey"
Expand Down

0 comments on commit b0e6dbf

Please sign in to comment.