Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117753859
D2470.1775196982.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
884 B
Referenced Files
None
Subscribers
None
D2470.1775196982.diff
View Options
diff --git a/src/resources/js/meet/app.js b/src/resources/js/meet/app.js
--- a/src/resources/js/meet/app.js
+++ b/src/resources/js/meet/app.js
@@ -1380,10 +1380,14 @@
return
}
+ // Note: offsetHeight/offsetWidth return rounded values, but for proper matrix
+ // calculations we need more precision, therefore we use getBoundingClientRect()
+
let allHeight = container.offsetHeight
let scrollHeight = subscribersContainer.scrollHeight
- let containerWidth = publishersContainer.offsetWidth
- let containerHeight = publishersContainer.offsetHeight
+ let bcr = publishersContainer.getBoundingClientRect()
+ let containerWidth = bcr.width
+ let containerHeight = bcr.height
let limit = Math.ceil(allHeight * 0.25) // max subscribers list height
// Fix subscribers list height
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 6:16 AM (4 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18822814
Default Alt Text
D2470.1775196982.diff (884 B)
Attached To
Mode
D2470: [Meet] Fix video elements sizing bug
Attached
Detach File
Event Timeline