1
0
Fork 0
forked from wry/wry

renderer: sync before rendering workspace highlight

This commit is contained in:
Julian Orth 2025-05-06 15:54:20 +02:00
parent a235b0fee3
commit 5d08190e76

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);
}
}