1
0
Fork 0
forked from wry/wry

Merge pull request #453 from mahkoh/jorth/fix-ws-highlight

renderer: sync before rendering workspace highlight
This commit is contained in:
mahkoh 2025-05-06 16:01:49 +02:00 committed by GitHub
commit 9840150e40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,6 +189,7 @@ impl Renderer<'_> {
if ws.render_highlight.get() > 0 {
let color = self.state.theme.colors.highlight.get();
let bounds = ws.position.get().at_point(x, y + th + 1);
self.base.ops.push(GfxApiOpt::Sync);
self.base.fill_boxes(&[bounds], &color, srgb);
}
}