scrolling: Don't forget to call tab_indicator.update_shaders()

This didn't actually break anything since those shaders aren't
configurable.
This commit is contained in:
Ivan Molodetskikh
2025-12-25 07:59:34 +03:00
parent 4d295418ce
commit 9d62b94688
+10 -2
View File
@@ -336,8 +336,8 @@ impl<W: LayoutElement> ScrollingSpace<W> {
} }
pub fn update_shaders(&mut self) { pub fn update_shaders(&mut self) {
for tile in self.tiles_mut() { for col in &mut self.columns {
tile.update_shaders(); col.update_shaders();
} }
} }
@@ -4056,6 +4056,14 @@ impl<W: LayoutElement> Column<W> {
} }
} }
pub fn update_shaders(&mut self) {
for tile in &mut self.tiles {
tile.update_shaders();
}
self.tab_indicator.update_shaders();
}
pub fn advance_animations(&mut self) { pub fn advance_animations(&mut self) {
if let Some(move_) = &mut self.move_animation { if let Some(move_) = &mut self.move_animation {
if move_.anim.is_done() { if move_.anim.is_done() {