Skip to content

Commit

Permalink
Resolve PR comments andc clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
parzival418 committed Nov 19, 2023
1 parent 794ff13 commit e6771ee
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/core/shared/src/plugins/modulePlugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ function install(

component.builder = async node => {
// @ts-ignore
console.log('UPDATING SOCKETS!')
if (!component.noBuildUpdate) {
component.updateModuleSockets(node)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/shared/src/plugins/socketGenerator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function install(editor: IRunContextEditor) {
nodeInputs.forEach(socket => {
// If the input key is already on the node, return
if (inputMap[socket.socketKey]) return
console.log('SOCKET', socket)

if (socket.hide) return
const input = new Rete.Input(
socket.socketKey ? socket.socketKey : socket.name,
Expand Down
6 changes: 3 additions & 3 deletions packages/editor/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ body,
.socket.output.trigger,
.socket.input.trigger,
.expanding.trigger {
background: white;
background: var(--white);
}

.trigger .main-path {
stroke: white !important;
stroke: var(--white) !important;
}

.socket.output.event,
Expand Down Expand Up @@ -352,7 +352,7 @@ input:focus-visible {
}

.nav-item-active {
color: white;
color: var(--white);
}

.flex-container {
Expand Down
1 change: 1 addition & 0 deletions packages/editor/src/design-globals/design-globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ label,
--dark-3: #424242;
--dark-4: #636363;
--dark-5: #fff;
--white: #fff;

--red: #f54703;
--orange: #f59403;
Expand Down
1 change: 0 additions & 1 deletion packages/editor/src/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ export const initEditor = function ({
editor.use(DebuggerPlugin)
editor.use(MultiCopyPlugin)
editor.use(SocketGeneratorPlugin)
// editor.use(MultiSocketGenerator)
editor.use(InspectorPlugin)
editor.use(NodeClickPlugin)

Expand Down
1 change: 0 additions & 1 deletion packages/editor/src/windows/PlaytestWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ const Playtest = ({ tab }) => {
// Print to console callback function.
const printToConsole = useCallback(
(_, _text) => {
console.log('Playtest received!', _text);
// check if _text is a string
if (typeof _text !== 'string') {
console.warn('Could not split text, not a string', _text);
Expand Down

0 comments on commit e6771ee

Please sign in to comment.