tooltip wrap, clippy

[skip ci]
This commit is contained in:
Aleksander
2025-12-23 17:14:46 +01:00
parent 9a606dbce5
commit 1b4c2a9006
14 changed files with 180 additions and 168 deletions

View File

@@ -39,11 +39,11 @@ impl WidgetSprite {
)
}
pub fn set_color(&mut self, color: drawing::Color) {
pub const fn set_color(&mut self, color: drawing::Color) {
self.params.color = Some(color);
}
pub fn get_color(&self) -> Option<drawing::Color> {
pub const fn get_color(&self) -> Option<drawing::Color> {
self.params.color
}