mirror of
https://github.com/streamwall/streamwall.git
synced 2026-04-03 20:32:08 -04:00
Merge pull request #20 from evilalmus/main
Update control window to render grid boxes based on GRID_COUNT constant
This commit is contained in:
@@ -235,10 +235,10 @@ function App({ wsEndpoint }) {
|
|||||||
)}
|
)}
|
||||||
<StyledDataContainer isConnected={isConnected}>
|
<StyledDataContainer isConnected={isConnected}>
|
||||||
<div>
|
<div>
|
||||||
{range(0, 3).map((y) => (
|
{range(0, GRID_COUNT).map((y) => (
|
||||||
<StyledGridLine>
|
<StyledGridLine>
|
||||||
{range(0, 3).map((x) => {
|
{range(0, GRID_COUNT).map((x) => {
|
||||||
const idx = 3 * y + x
|
const idx = GRID_COUNT * y + x
|
||||||
const {
|
const {
|
||||||
streamId = '',
|
streamId = '',
|
||||||
isListening = false,
|
isListening = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user