Increased party width and mute icon size
This commit is contained in:
parent
53bf0e9659
commit
502214c1f5
@ -22,10 +22,10 @@ function Nickname({ nickname, stream }) {
|
|||||||
{stream && (
|
{stream && (
|
||||||
<IconButton
|
<IconButton
|
||||||
sx={{
|
sx={{
|
||||||
width: "10px",
|
width: "14px",
|
||||||
height: "10px",
|
height: "14px",
|
||||||
padding: 0,
|
padding: 0,
|
||||||
margin: "2px",
|
marginLeft: "2px",
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
bottom: "-2px",
|
bottom: "-2px",
|
||||||
}}
|
}}
|
||||||
@ -34,9 +34,9 @@ function Nickname({ nickname, stream }) {
|
|||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
height="10"
|
height="14"
|
||||||
viewBox="0 0 24 24"
|
viewBox="0 0 24 24"
|
||||||
width="10"
|
width="14"
|
||||||
fill="currentcolor"
|
fill="currentcolor"
|
||||||
>
|
>
|
||||||
{streamMuted ? (
|
{streamMuted ? (
|
||||||
|
@ -22,8 +22,8 @@ function Party({
|
|||||||
bg="background"
|
bg="background"
|
||||||
sx={{
|
sx={{
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
width: "96px",
|
width: "112px",
|
||||||
minWidth: "96px",
|
minWidth: "112px",
|
||||||
overflowY: "auto",
|
overflowY: "auto",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
}}
|
}}
|
||||||
|
@ -55,9 +55,10 @@ function ProxyToken({ tokenClassName, onProxyDragEnd }) {
|
|||||||
if (proxyContainer) {
|
if (proxyContainer) {
|
||||||
const proxyContainerRect = proxyContainer.getBoundingClientRect();
|
const proxyContainerRect = proxyContainer.getBoundingClientRect();
|
||||||
const proxyRect = proxy.getBoundingClientRect();
|
const proxyRect = proxy.getBoundingClientRect();
|
||||||
|
// TODO: Look into a better method than hardcoding these values
|
||||||
proxyOnMap.current =
|
proxyOnMap.current =
|
||||||
proxyContainerRect.right - proxyRect.right > 80 &&
|
proxyContainerRect.right - proxyRect.right > 80 &&
|
||||||
proxyRect.left > 96;
|
proxyRect.left > 112;
|
||||||
}
|
}
|
||||||
|
|
||||||
// update the posiion attributes
|
// update the posiion attributes
|
||||||
|
Loading…
Reference in New Issue
Block a user