@@ -92,7 +92,7 @@ void DrawEnableInjection(){
9292 }
9393
9494 void DrawTextView ( string text , ref Vector2 scroll ) {
95- scroll = BeginScrollView ( scroll ) ;
95+ scroll = BeginScrollView ( scroll , GL . Height ( 360 ) ) ;
9696 GUI . backgroundColor = Color . black ;
9797 ConfigTextAreaStyle ( ) ;
9898 GL . TextArea ( text , GL . ExpandHeight ( true ) ) ;
@@ -117,19 +117,24 @@ void DrawScrubber(){
117117 if ( browsing ) {
118118 frameNo = model . currentFrame ?? frameNo ;
119119 }
120+ model . currentFrame = frameNo ;
120121 var style = GUI . skin . button ;
121122 normalButtonFont = style . font ;
122123 style . font = monofont ;
123- if ( ScrubberButton ( "<" ) ) SelectPrev ( ) ;
124+ // TODO for now still broken; also, use case unclear
125+ //if(ScrubberButton("<")) SelectPrev();
124126 if ( isPlaying ) {
125127 GL . Button ( $ "#{ frameNo : 0000} ", GL . MaxWidth ( 64f ) , GL . MinHeight ( ScrubberButtonsHeight ) ) ;
126128 } else {
127129 GL . Button ( $ "-----", GL . MaxWidth ( 64f ) , GL . MinHeight ( ScrubberButtonsHeight ) ) ;
128130 }
129- if ( ScrubberButton ( ">" ) ) SelectNext ( ) ;
130- style . font = normalButtonFont ;
131- GL . FlexibleSpace ( ) ;
131+ //if(ScrubberButton(">")) SelectNext();
132132 if ( ! isPlaying && ScrubberButton ( $ "Clear") ) Clear ( ) ;
133+ GL . FlexibleSpace ( ) ;
134+ EGL . LabelField ( "last" , GL . Width ( 24 ) ) ;
135+ Config . historySpan = EGL . DelayedFloatField ( Config . historySpan , GL . Width ( 32 ) ) ;
136+ EGL . LabelField ( "s" , GL . Width ( 16 ) ) ;
137+ style . font = normalButtonFont ;
133138 EndHorizontal ( ) ;
134139 }
135140
0 commit comments