mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2025-12-27 08:29:17 -05:00
fix: scales label height according to zoom
This commit is contained in:
@@ -110,7 +110,7 @@ export const Node = ({ node, iconUrl }: Props) => {
|
||||
/>
|
||||
</Box>
|
||||
<LabelContainer
|
||||
labelHeight={node.labelHeight + iconSize.height}
|
||||
labelHeight={(node.labelHeight + iconSize.height) * zoom}
|
||||
tileSize={projectedTileSize}
|
||||
connectorDotSize={5 * zoom}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user