File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ void supervisor_start_terminal(uint16_t width_px, uint16_t height_px) {
67
67
bool reset_tiles = false;
68
68
uint16_t width_in_tiles = width_px / scroll_area -> tile_width ;
69
69
// determine scale based on width
70
- if (width_in_tiles < 80 ) {
70
+ if (width_in_tiles <= 80 ) {
71
71
scale = 1 ;
72
72
}
73
73
@@ -133,7 +133,7 @@ void supervisor_start_terminal(uint16_t width_px, uint16_t height_px) {
133
133
#else
134
134
scroll_area -> y = title_bar -> tile_height ;
135
135
#endif
136
- int16_t extra_height = (scroll_area -> pixel_height + scroll_area -> y ) - height_px ;
136
+ int16_t extra_height = (scroll_area -> pixel_height + scroll_area -> y ) - ( height_px / scale ) ;
137
137
// Subtract extra height so that the bottom line fully shows. The top line will be under the
138
138
// title bar and Blinka logo.
139
139
scroll_area -> y -= extra_height ;
You can’t perform that action at this time.
0 commit comments