Skip to content

Commit

Permalink
Made whiteboard markers return home
Browse files Browse the repository at this point in the history
Instead of sticking wherever you drop them the markers on the whiteboard will now return to their default position when released.
  • Loading branch information
JoeLudwig committed Jun 27, 2020
1 parent de918bd commit 0452b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websrc/whiteboard/src/whiteboard_main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ interface MarkerProps
function Marker( props: MarkerProps )
{
const [ color, setColor ] = React.useState( props.initialColor );
const [ moveable, setMoveable ] = React.useState( new MoveableComponent( () => {} ) );
const [ moveable, setMoveable ] = React.useState( new MoveableComponent( () => {}, false, false ) );

let onColorPicker = ( activeColorPicker: ActiveInterface ) =>
{
Expand Down

0 comments on commit 0452b10

Please sign in to comment.