Simplify theming for Container widget

This commit is contained in:
Héctor Ramón Jiménez 2024-03-05 03:48:08 +01:00
parent 1f0a0c235a
commit 29326215cc
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
20 changed files with 275 additions and 186 deletions

View file

@ -1,5 +1,5 @@
//! Navigate an endless amount of content with a scrollbar.
use crate::container;
// use crate::container;
use crate::core::event::{self, Event};
use crate::core::keyboard;
use crate::core::layout;
@ -917,11 +917,11 @@ pub fn draw<Theme, Renderer>(
}
};
container::draw_background(
renderer,
&appearance.container,
layout.bounds(),
);
// container::draw_background(
// renderer,
// &appearance.container,
// layout.bounds(),
// );
// Draw inner content
if scrollbars.active() {