parent
001c627f52
commit
6d66c87077
2 changed files with 3 additions and 6 deletions
|
|
@ -144,6 +144,9 @@ Detailed list of changes
|
|||
- Fix a regression in 0.43.0 that caused a black flicker when closing a tab in
|
||||
the presence of a background image (:iss:`9060`)
|
||||
|
||||
- Further improvements to rounded corner rendering, especially at low DPI
|
||||
(:pull:`9091`)
|
||||
|
||||
- Splits layout: Fix a bug that could cause a corrupted layout in some
|
||||
circumstances (:iss:`9059`)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
#include "decorations.h"
|
||||
#include "state.h"
|
||||
#include <math.h>
|
||||
|
||||
typedef uint32_t uint;
|
||||
|
||||
|
|
@ -315,9 +314,6 @@ add_vholes(Canvas *self, uint level, uint num) {
|
|||
}
|
||||
}
|
||||
|
||||
static double clamp_double(double value, double lower, double upper);
|
||||
static double smoothstep(double edge0, double edge1, double x);
|
||||
|
||||
static Range
|
||||
hline_limits(Canvas *self, uint y, uint level) {
|
||||
uint sz = thickness(self, level, false);
|
||||
|
|
@ -328,8 +324,6 @@ hline_limits(Canvas *self, uint y, uint level) {
|
|||
|
||||
static void
|
||||
draw_hline(Canvas *self, uint x1, uint x2, uint y, uint level) {
|
||||
if (x1 >= x2 || y >= self->height) return;
|
||||
|
||||
// Draw a horizontal line between [x1, x2) centered at y with the thickness given by level and self->supersample_factor
|
||||
Range r = hline_limits(self, y, level);
|
||||
for (uint y = r.start; y < r.end; y++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue