Skip to content

Commit

Permalink
remove blank files, console logs, set better default color on setpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
pjdotson committed Sep 26, 2024
1 parent 992a12e commit 252e4f7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Empty file removed console/src/fs/useFileDrop.ts
Empty file.
Empty file removed pluto/Handle
Empty file.
3 changes: 1 addition & 2 deletions pluto/src/vis/schematic/primitives/Primitives.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,6 @@ export const Setpoint = ({
onChange,
...props
}: SetpointProps): ReactElement => {
console.log("COLOR", color);
const [currValue, setCurrValue] = useState(value);
return (
<Div
Expand Down Expand Up @@ -1865,7 +1864,7 @@ export interface OffPageReferenceProps extends DivProps {
export const OffPageReference: React.FC<OffPageReferenceProps> = ({
id,
className,
orientation = "top",
orientation = "right",
label = "text",
color = "black",
level = "p",
Expand Down
3 changes: 2 additions & 1 deletion pluto/src/vis/schematic/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ const setpoint: Spec<SetpointProps> = {
Form: SetpointForm,
defaultProps: (t) => ({
units: "mV",
color: t.colors.gray.l4.rgba255,
color: t.colors.gray.l9.rgba255,
...zeroLabel("Setpoint"),
...ZERO_NUMERIC_SOURCE_PROPS,
...ZERO_NUMERIC_SINK_PROPS,
Expand Down Expand Up @@ -834,6 +834,7 @@ const offPageReference: Spec<ArrowProps> = {
Symbol: OffPageReference,
defaultProps: (t) => ({
color: t.colors.gray.l9.rgba255,
orientation: "right",
...zeroLabel("Off Page Reference"),
}),
Preview: OffPageReferencePreview,
Expand Down

0 comments on commit 252e4f7

Please sign in to comment.