some more cleanup
This commit is contained in:
parent
8062bd1027
commit
d7b7a6715e
@ -23,7 +23,6 @@
|
|||||||
height: var(--lg-icon-size);
|
height: var(--lg-icon-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO follow-participant
|
|
||||||
&__label-element {
|
&__label-element {
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,6 @@ export const SidebarTrigger = ({
|
|||||||
const appState = useUIAppState();
|
const appState = useUIAppState();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
// TODO follow-participant
|
|
||||||
<label title={title} className="sidebar-trigger__label-element">
|
<label title={title} className="sidebar-trigger__label-element">
|
||||||
<input
|
<input
|
||||||
className="ToolIcon_type_checkbox"
|
className="ToolIcon_type_checkbox"
|
||||||
|
@ -16,18 +16,17 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
// can fit max 5 avatars in a column
|
box-sizing: border-box;
|
||||||
max-height: 140px;
|
|
||||||
|
|
||||||
// can fit max 10 avatars in a row when there's enough space
|
// can fit max 4 avatars (3 avatars + show more) in a column
|
||||||
max-width: 290px;
|
max-height: 120px;
|
||||||
|
|
||||||
|
// can fit max 4 avatars (3 avatars + show more) when there's enough space
|
||||||
|
max-width: 120px;
|
||||||
|
|
||||||
// Tweak in 30px increments to fit more/fewer avatars in a row/column ^^
|
// Tweak in 30px increments to fit more/fewer avatars in a row/column ^^
|
||||||
|
|
||||||
// TODO follow-participant
|
overflow: hidden;
|
||||||
// rethink the above given that we'll have 3 avatars + "more" button max
|
|
||||||
// most likely
|
|
||||||
// overflow: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.UserList > * {
|
.UserList > * {
|
||||||
|
@ -833,7 +833,6 @@ class Collab extends PureComponent<Props, CollabState> {
|
|||||||
this.portal.socket &&
|
this.portal.socket &&
|
||||||
this.portal.broadcastScrollAndZoom(
|
this.portal.broadcastScrollAndZoom(
|
||||||
{ bounds: [x1, y1, x2, y2] },
|
{ bounds: [x1, y1, x2, y2] },
|
||||||
// TODO follow-participant
|
|
||||||
`follow_${this.portal.socket.id}`,
|
`follow_${this.portal.socket.id}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,6 @@ class Portal {
|
|||||||
async _broadcastSocketData(
|
async _broadcastSocketData(
|
||||||
data: SocketUpdateData,
|
data: SocketUpdateData,
|
||||||
volatile: boolean = false,
|
volatile: boolean = false,
|
||||||
// TODO follow-participant
|
|
||||||
roomId?: string,
|
roomId?: string,
|
||||||
) {
|
) {
|
||||||
if (this.isOpen()) {
|
if (this.isOpen()) {
|
||||||
@ -93,7 +92,6 @@ class Portal {
|
|||||||
|
|
||||||
this.socket?.emit(
|
this.socket?.emit(
|
||||||
volatile ? WS_EVENTS.SERVER_VOLATILE : WS_EVENTS.SERVER,
|
volatile ? WS_EVENTS.SERVER_VOLATILE : WS_EVENTS.SERVER,
|
||||||
// TODO follow-participant
|
|
||||||
roomId ?? this.roomId,
|
roomId ?? this.roomId,
|
||||||
encryptedBuffer,
|
encryptedBuffer,
|
||||||
iv,
|
iv,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user