Only buffer is not fallback buffer

This commit is contained in:
Rasmus Eneman 2024-08-02 09:39:52 +02:00
parent ba743171f5
commit b5e4ab5881
No known key found for this signature in database

View File

@ -2572,13 +2572,13 @@ impl<W: LayoutElement> Workspace<W> {
if let Some(mut area) = self.insert_hint_area(insert_hint) {
area.loc.x -= self.view_pos();
let fallback_buffer = SolidColorBuffer::new(
let buffer = SolidColorBuffer::new(
area.size,
self.options.insert_hint.color.to_array_premul(),
);
rv.push(
TileRenderElement::SolidColor(SolidColorRenderElement::from_buffer(
&fallback_buffer,
&buffer,
area.loc,
1.,
Kind::Unspecified,