Keep corner tick line thickness at a fixed 1px, not scaled to 2x

tick_size (the bracket's overall footprint/position) still scales with
`scale` so the ticks sit correctly in the corners at either resolution,
but line_thickness is pinned to 1px per request rather than growing to
match -- the ticks stay crisp/thin at 2x instead of thickening.
This commit is contained in:
poprhythm committed 2026-10-09 22:13:51 -04:00
1 parent 31a0e5dedc
commit 3622625b0f
1 file changed
+1 -1
+1 -1
View File
@@ -731,7 +731,7 @@ def _glitch_scanlines(scale):
def _glitch_corner_ticks(color, scale): def _glitch_corner_ticks(color, scale):
tick_size = 5 * scale tick_size = 5 * scale
line_thickness = scale # was a fixed 1px; scaled so the bracket's own weight stays proportional line_thickness = 1 # kept at a crisp 1px at every scale, per request, rather than growing to `scale`
# A single tick shape (two short perpendicular lines) always draws # A single tick shape (two short perpendicular lines) always draws
# the same way regardless of which corner it's placed in -- it has no # the same way regardless of which corner it's placed in -- it has no
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.