renderer: sync before rendering workspace highlight
This commit is contained in:
parent
a235b0fee3
commit
5d08190e76
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue