mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: collab username style fixes (#6668)
This commit is contained in:
parent
ce9acfbc55
commit
74d2fc6406
2 changed files with 6 additions and 7 deletions
|
@ -743,12 +743,7 @@ export const _renderScene = ({
|
|||
context.strokeStyle = oc.white;
|
||||
context.stroke();
|
||||
} else {
|
||||
// Border
|
||||
context.fillStyle = oc.white;
|
||||
context.fillRect(boxX, boxY, boxWidth, boxHeight);
|
||||
// Background
|
||||
context.fillStyle = background;
|
||||
context.fillRect(offsetX, offsetY, boxWidth - 2, boxHeight - 2);
|
||||
roundRect(context, boxX, boxY, boxWidth, boxHeight, 8, oc.white);
|
||||
}
|
||||
context.fillStyle = oc.black;
|
||||
|
||||
|
@ -759,7 +754,7 @@ export const _renderScene = ({
|
|||
paddingVertical +
|
||||
measure.actualBoundingBoxAscent +
|
||||
Math.floor((finalHeight - measureHeight) / 2) +
|
||||
1,
|
||||
2,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue