updates
Browse files
+5 −2 src/bar/bar.rs
| @@ -141,7 +141,10 @@ impl Bar { | ||
| 141 | 141 | |
| 142 | 142 | if is_selected { |
| 143 | 143 | let underline_height = 2; |
| 144 | - let spacing_from_text = 3; | |
| 144 | + let spacing_from_text = 4; | |
| 145 | + | |
| 146 | + let underline_y = text_y + spacing_from_text; | |
| 147 | + | |
| 145 | 148 | connection.change_gc( |
| 146 | 149 | self.graphics_context, |
| 147 | 150 | &ChangeGCAux::new().foreground(scheme.border), |
| @@ -151,7 +154,7 @@ impl Bar { | ||
| 151 | 154 | self.graphics_context, |
| 152 | 155 | &[Rectangle { |
| 153 | 156 | x: x_position, |
| 154 | - y: (self.height - underline_height - spacing_from_text) as i16, | |
| 157 | + y: underline_y, | |
| 155 | 158 | width: tag_width, |
| 156 | 159 | height: underline_height, |
| 157 | 160 | }], |