updates
Browse files
+4 −3 src/bar/bar.rs
| @@ -140,10 +140,11 @@ impl Bar { | ||
| 140 | 140 | .draw_text(&self.font, scheme.foreground, x_position + 5, text_y, tag); |
| 141 | 141 | |
| 142 | 142 | if is_selected { |
| 143 | - let underline_height = 2; | |
| 144 | - let spacing_from_text = 4; | |
| 143 | + let underline_height = 3; | |
| 144 | + let gap_above_underline = 3; | |
| 145 | 145 | |
| 146 | - let underline_y = text_y + spacing_from_text; | |
| 146 | + let underline_y = | |
| 147 | + self.height as i16 - underline_height as i16 - gap_above_underline; | |
| 147 | 148 | |
| 148 | 149 | connection.change_gc( |
| 149 | 150 | self.graphics_context, |