File tree Expand file tree Collapse file tree
examples/companion_radio/ui-tiny Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ class ScrollingStatusBar {
8484 ble_on ? " ON" : " OFF"
8585 );
8686
87+ display.setTextSize (1 );
8788 _text_width = display.getTextWidth (_status);
8889 _next_update = millis () + STATUS_BAR_UPDATE_MS ;
8990 _needs_redraw = true ;
@@ -105,6 +106,10 @@ class ScrollingStatusBar {
105106 display.setTextSize (1 );
106107 display.setColor (DisplayDriver::GREEN );
107108
109+ // if (_needs_redraw) {
110+ // _text_width = display.getTextWidth(_status);
111+ // }
112+
108113 // static text: no scrolling needed
109114 if (_text_width <= _display_width) {
110115 display.setCursor (0 , 0 );
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ class HomeScreen : public UIScreen {
181181 #endif
182182 if (_task->hasConnection ()) {
183183 display.setColor (DisplayDriver::GREEN );
184- display.setTextSize (2 );
184+ display.setTextSize (1 );
185185 display.drawTextCentered (display.width () / 2 , display.height ()-8 , " < Connected >" );
186186
187187 } else if (the_mesh.getBLEPin () != 0 ) { // BT pin
You can’t perform that action at this time.
0 commit comments