Skip to content

Commit

Permalink
reconfigure node with div
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Kimmel committed Apr 8, 2020
1 parent 378626d commit ddfee0a
Showing 1 changed file with 1 addition and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { Vector2, Matrix3, AdjacentProcessMap, ResolverProcessType } from '../ty
import { SymbolIds, NamedColors, PaintServerIds } from './defs';
import { ResolverEvent } from '../../../../common/types';
import { useResolverDispatch } from './use_resolver_dispatch';
import * as eventModel from '../../../../common/models/event';
// import * as eventModel from '../../../../common/models/event';
import * as processModel from '../models/process_event';
import * as selectors from '../store/selectors';

Expand Down Expand Up @@ -151,30 +151,6 @@ export const ProcessEventDot = styled(

const dispatch = useResolverDispatch();

const LabelText = styled.div`
color: ${NamedColors.empty};
width: 100%;
height: 100%;
font-size: 45%;
background-color: ${labelFill};
text-align: left;
vertical-align: middle;
font-weight: bold;
letter-spacing: -0.02px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
& span {
display: inline-block;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
`;

const handleFocus = useCallback(
(focusEvent: React.FocusEvent<HTMLDivElement>) => {
dispatch({
Expand Down

0 comments on commit ddfee0a

Please sign in to comment.