File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
ui/src/components/Sessions Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -117,13 +117,6 @@ const currentSpeed = ref(1);
117117const formatTime = (time : number ) => new Date (time * 1000 ).toISOString ().slice (time >= 3600 ? 11 : 14 , 19 );
118118const changeFocusToPlayer = () => { playerWrapper .value ?.focus (); };
119119
120- const getSessionDimensions = () => {
121- const dimensionsLine = logs ?.split (" \n " )[1 ] ?? " " ; // returns a string in the format of `[0.123, "r", "80x24"]`
122- const dimensions = JSON .parse (dimensionsLine )[2 ];
123- const [cols, rows] = dimensions .split (" x" );
124- return { cols , rows };
125- };
126-
127120const getCurrentTime = () => {
128121 const time = player .value .getCurrentTime ();
129122 currentTime .value = time ;
@@ -168,7 +161,6 @@ const createPlayer = (startAt = 0) => {
168161 const playerOptions = {
169162 fit: " both" ,
170163 controls: false ,
171- ... getSessionDimensions (),
172164 speed: currentSpeed .value ,
173165 startAt ,
174166 };
You can’t perform that action at this time.
0 commit comments