PolyMeilex / sctk-adwaita

Adwaita-like SCTK Frame
MIT License
26 stars 19 forks source link

`ab_glyph` renderer panics with a scale factor > 2 #50

Closed Friz64 closed 8 months ago

Friz64 commented 9 months ago

I set the scale factor in GNOME to 225%, which results in an integer scale factor of 3. When dragging the example window to the screen with the higher scale factor, the program crashes.

thread 'main' panicked at src/title/ab_glyph_renderer.rs:102:40:
index out of bounds: the len is 30051 but the index is 30282
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace