mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 18:21:10 +00:00
Restores the missing comment marker in the scheduler view.
The wrapped comment before the graph sizing logic lacked the marker on its second line, which left a bare statement inside the inline script. Both lines are now comments, and the sentence is punctuated only on its last line.
This commit is contained in:
1 parent
980e575fa4
commit
88455fec9c
1 file changed
+1
-1
@@ -442,7 +442,7 @@ It keeps the DOM contract the client script binds to, without any images or colo
|
|||||||
|
|
||||||
function resizeGraph() {
|
function resizeGraph() {
|
||||||
// The graph fills the width of its container next to the legend, and its height follows the legend, with a sensible floor; the height must not be derived
|
// The graph fills the width of its container next to the legend, and its height follows the legend, with a sensible floor; the height must not be derived
|
||||||
from the canvas element box, because the flex layout stretches the canvas and its replaced-element aspect ratio would blow the box up.
|
// from the canvas element box, because the flex layout stretches the canvas and its replaced-element aspect ratio would blow the box up.
|
||||||
const container = graphCanvas.parentElement;
|
const container = graphCanvas.parentElement;
|
||||||
if (!container || container.clientWidth <= 0)
|
if (!container || container.clientWidth <= 0)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user